Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62c1588

Browse files
authored
Merge pull request #20719 from timhoffm/doc-plot-types-scatter
Fix color normalization in plot types scatter
2 parents 57db5a7 + 2855028 commit 62c1588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plot_types/basic/scatter_plot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# plot
2222
fig, ax = plt.subplots()
2323

24-
ax.scatter(x, y, s=sizes, c=colors, vmin=-100, vmax=0)
24+
ax.scatter(x, y, s=sizes, c=colors, vmin=0, vmax=100)
2525

2626
ax.set(xlim=(0, 8), xticks=np.arange(1, 8),
2727
ylim=(0, 8), yticks=np.arange(1, 8))

0 commit comments

Comments
 (0)