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 2855028

Browse filesBrowse files
committed
Fix color normalization in plot types scatter
Adjust the norm limits to include the colors values (between 15 and 80).
1 parent 5b87c98 commit 2855028
Copy full SHA for 2855028

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.