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 e952072

Browse filesBrowse files
committed
DOC: fix description of vmin/vmax in scatter
1 parent 63cbb60 commit e952072
Copy full SHA for e952072

File tree

Expand file treeCollapse file tree

1 file changed

+7
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-6
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4323,14 +4323,15 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
43234323
used if *c* is an array of floats.
43244324
43254325
norm : `~matplotlib.colors.Normalize`, default: None
4326-
A `.Normalize` instance is used to scale luminance data to 0, 1.
4327-
*norm* is only used if *c* is an array of floats. If *None*, use
4328-
the default `.colors.Normalize`.
4326+
If *c* is an array of floats, *norm* is used to scale the color
4327+
data, *c*, in the range 0 to 1, in order to map into the colormap
4328+
*cmap*.
4329+
If *None*, use the default `.colors.Normalize`.
43294330
43304331
vmin, vmax : scalar, default: None
4331-
*vmin* and *vmax* are used in conjunction with *norm* to normalize
4332-
luminance data. If None, the respective min and max of the color
4333-
array is used.
4332+
*vmin* and *vmax* are used in conjunction with the default norm to
4333+
map the color array *c* to the colormap *cmap*. If None, the
4334+
respective min and max of the color array is used.
43344335
It is deprecated to use *vmin*/*vmax* when *norm* is given.
43354336
43364337
alpha : scalar, default: None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.