Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 62c1588

Browse filesBrowse 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
Copy full SHA for 62c1588

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎plot_types/basic/scatter_plot.py

Copy file name to clipboardExpand all lines: plot_types/basic/scatter_plot.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.