import matplotlib.pyplot as plt
import mplcyberpunk
plt.style.use("cyberpunk") # Using cyberpunk style for thematic background/colors
from matplotlib.patheffects import Normal
from mpl_visual_context.patheffects import Glow

fig, ax = plt.subplots()

l1, = ax.plot([0, 4, 5, 3, 2], "o-", label="Data Line 1")
l2, = ax.plot([2, 1, 3, 4, 3], "o-", label="Data Line 2")

# Apply Glow (draws multiple faint lines) then Normal (draws the original line on top)
glow_effect = [Glow(n_glow_lines=10, alpha_line=0.6), Normal()]
for l in [l1, l2]:
    l.set_path_effects(glow_effect)
ax.legend()
plt.show()