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

Skip to content

Commit f936378

Browse files
committed
More feedback from @story645
1 parent 3e4b469 commit f936378

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/matplotlib/colorizer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def set_clim(self, vmin=None, vmax=None):
249249
The limits.
250250
251251
For scalar data, the limits may also be passed as a
252-
tuple (*vmin*, *vmax*) as a single positional argument.
252+
tuple (*vmin*, *vmax*) single positional argument.
253253
254254
.. ACCEPTS: (vmin: float, vmax: float)
255255
"""
@@ -635,7 +635,7 @@ def _get_colorizer(cmap, norm, colorizer):
635635
cmap : str, `~matplotlib.colors.Colormap`, `~matplotlib.colors.BivarColormap`\
636636
or `~matplotlib.colors.MultivarColormap`, default: :rc:`image.cmap`
637637
The Colormap instance or registered colormap name used to map
638-
scalar/multivariate data to colors.
638+
data values to colors.
639639
640640
Multivariate data is only accepted if a multivariate colormap
641641
(`~matplotlib.colors.BivarColormap` or `~matplotlib.colors.MultivarColormap`)
@@ -660,13 +660,13 @@ def _get_colorizer(cmap, norm, colorizer):
660660
before mapping to colors using *cmap*. By default, a linear scaling is
661661
used, mapping the lowest value to 0 and the highest to 1.
662662
663-
If given, this can be one of the following:
663+
This can be one of the following:
664664
665665
- An instance of `.Normalize` or one of its subclasses
666666
(see :ref:`colormapnorms`).
667667
- A scale name, i.e. one of "linear", "log", "symlog", "logit", etc. For a
668668
list of available scales, call `matplotlib.scale.get_scale_names()`.
669-
In that case, a suitable `.Normalize` subclass is dynamically generated
669+
In this case, a suitable `.Normalize` subclass is dynamically generated
670670
and instantiated.
671671
- A list of scale names or `.Normalize` objects matching the number of
672672
variates in the colormap, for use with `~matplotlib.colors.BivarColormap`
@@ -686,8 +686,8 @@ def _get_colorizer(cmap, norm, colorizer):
686686
*vmin*/*vmax* when a *norm* instance is given (but using a `str` *norm*
687687
name together with *vmin*/*vmax* is acceptable).
688688
689-
A list can be used to define independent limits for each variate when
690-
using a `~matplotlib.colors.BivarColormap` or
689+
A list of values (vmin or vmax) can be used to define independent limits
690+
for each variate when using a `~matplotlib.colors.BivarColormap` or
691691
`~matplotlib.colors.MultivarColormap`.""",
692692
)
693693

0 commit comments

Comments
 (0)