| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 54360f3 commit 9b4b0b1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,8 @@ def plot_colored_circles(ax, prng, nb_samples=15): | |||
| 63 | 63 | the color cycle, because different styles may have different numbers | |
| 64 | 64 | of colors. | |
| 65 | 65 | """ | |
| 66 | - for sty_dict, j in zip(plt.rcParams['axes.prop_cycle'], range(nb_samples)): | ||
| 66 | + for sty_dict, j in zip(plt.rcParams['axes.prop_cycle'](), | ||
| 67 | + range(nb_samples)): | ||
| 67 | 68 | ax.add_patch(plt.Circle(prng.normal(scale=3, size=2), | |
| 68 | 69 | radius=1.0, color=sty_dict['color'])) | |
| 69 | 70 | ax.grid(visible=True) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments