Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e509e40 commit 5381f46Copy full SHA for 5381f46
1 file changed
examples/style_sheets/style_sheets_reference.py
@@ -62,7 +62,8 @@ def plot_colored_circles(ax, prng, nb_samples=15):
62
the color cycle, because different styles may have different numbers
63
of colors.
64
"""
65
- for sty_dict, j in zip(plt.rcParams['axes.prop_cycle'], range(nb_samples)):
+ for sty_dict, j in zip(plt.rcParams['axes.prop_cycle'](),
66
+ range(nb_samples)):
67
ax.add_patch(plt.Circle(prng.normal(scale=3, size=2),
68
radius=1.0, color=sty_dict['color']))
69
# Force the limits to be the same across the styles (because different
0 commit comments