Area Chart

Neon Glow Area

Multi-layer glow effect for dramatic visualization.

Output
Neon Glow Area
Python
import matplotlib.pyplot as plt
import numpy as np

# Data
x = np.linspace(0, 10, 100)
y = 3 + 2*np.sin(x) + np.sin(2*x)

# Figure - LIGHT THEME
fig, ax = plt.subplots(figsize=(10, 6), facecolor='#ffffff')
ax.set_facecolor('#ffffff')

# Glow effect with NEON purple on light background
for width, alpha in [(12, 0.05), (8, 0.1), (5, 0.15), (3, 0.25)]:
    ax.plot(x, y, color='#4927F5', linewidth=width, alpha=alpha)
ax.plot(x, y, color='#4927F5', linewidth=2)
ax.fill_between(x, 0, y, color='#4927F5', alpha=0.15)

# Styling
ax.set_xlabel('X', color='#1f2937', fontsize=11)
ax.set_ylabel('Y', color='#1f2937', fontsize=11)
ax.set_title('Glowing Wave Pattern', color='#1f2937', fontsize=14, fontweight='bold', pad=15)
ax.tick_params(colors='#374151', labelsize=9)
for spine in ax.spines.values():
    spine.set_color('#e5e7eb')
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.yaxis.grid(True, color='#f3f4f6', linewidth=0.5)
ax.set_xlim(0, 10)
ax.set_ylim(0, 7)

plt.tight_layout()
plt.show()
Library

Matplotlib

Category

Basic Charts

Did this help you?

Support PyLucid to keep it free & growing

Support