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.
2 parents f630c28 + 9b4b0b1 commit caec6adCopy full SHA for caec6ad
1 file changed
examples/style_sheets/style_sheets_reference.py
@@ -63,7 +63,8 @@ def plot_colored_circles(ax, prng, nb_samples=15):
63
the color cycle, because different styles may have different numbers
64
of colors.
65
"""
66
- 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'](),
67
+ range(nb_samples)):
68
ax.add_patch(plt.Circle(prng.normal(scale=3, size=2),
69
radius=1.0, color=sty_dict['color']))
70
ax.grid(visible=True)
0 commit comments