A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mpl-visual-context.readthedocs.io/en/latest/examples/path_effects/test_glow_stroke.html below:

Website Navigation


Glow — mpl_visual_context 0.9.3 documentation

import matplotlib.pyplot as plt

from mpl_visual_context.patheffects import Glow, StrokeOnly

fig, ax = plt.subplots(num=1, clear=True)

y1 = [1, 3, 9, 5, 2, 1, 1]
y2 = [4, 5, 5, 7, 10, 8, 6]
(l1,) = ax.plot(y1, marker='o')
(l2,) = ax.plot(y2, marker='o')

for l in [l1, l2]:
    l.set_path_effects([Glow(), StrokeOnly()])

plt.show()

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4