Skip to content

Commit

Permalink
Merge pull request #16297 from jklymak/doc-rephrase-scatter-vmin
Browse files Browse the repository at this point in the history
DOC: fix description of vmin/vmax in scatter
  • Loading branch information
timhoffm committed Jan 23, 2020
2 parents d14ad5f + e952072 commit efbc555
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/matplotlib/axes/_axes.py
Expand Up @@ -4323,14 +4323,15 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
used if *c* is an array of floats.
norm : `~matplotlib.colors.Normalize`, default: None
A `.Normalize` instance is used to scale luminance data to 0, 1.
*norm* is only used if *c* is an array of floats. If *None*, use
the default `.colors.Normalize`.
If *c* is an array of floats, *norm* is used to scale the color
data, *c*, in the range 0 to 1, in order to map into the colormap
*cmap*.
If *None*, use the default `.colors.Normalize`.
vmin, vmax : scalar, default: None
*vmin* and *vmax* are used in conjunction with *norm* to normalize
luminance data. If None, the respective min and max of the color
array is used.
*vmin* and *vmax* are used in conjunction with the default norm to
map the color array *c* to the colormap *cmap*. If None, the
respective min and max of the color array is used.
It is deprecated to use *vmin*/*vmax* when *norm* is given.
alpha : scalar, default: None
Expand Down

0 comments on commit efbc555

Please sign in to comment.