@@ -3096,9 +3096,9 @@ def errorbar(self, x, y, yerr=None, xerr=None,
30963096 Use 'none' (case insensitive) to plot errorbars without any data
30973097 markers.
30983098
3099- ecolor : mpl color, optional, default: None
3100- A matplotlib color arg which gives the color the errorbar lines.
3101- If None, use the color of the line connecting the markers.
3099+ ecolor : color, optional, default: None
3100+ The color of the errorbar lines. If None, use the color of the
3101+ line connecting the markers.
31023102
31033103 elinewidth : scalar, optional, default: None
31043104 The linewidth of the errorbar lines. If None, the linewidth of
@@ -4175,12 +4175,12 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xsize,
41754175 Returns
41764176 -------
41774177 c
4178- The input *c* if it was not *None*, else some color specification
4179- derived from the other inputs or defaults.
4178+ The input *c* if it was not *None*, else a color derived from the
4179+ other inputs or defaults.
41804180 colors : array(N, 4) or None
4181- The facecolors as RGBA values or *None* if a colormap is used.
4181+ The facecolors as RGBA values, or *None* if a colormap is used.
41824182 edgecolors
4183- The edgecolor specification .
4183+ The edgecolor.
41844184
41854185 """
41864186 facecolors = kwargs .pop ('facecolors' , None )
@@ -4198,10 +4198,10 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xsize,
41984198 try :
41994199 mcolors .to_rgba_array (kwcolor )
42004200 except ValueError :
4201- raise ValueError ("'color' kwarg must be an mpl color"
4202- " spec or sequence of color specs. \n "
4203- " For a sequence of values to be color-mapped,"
4204- " use the 'c' argument instead." )
4201+ raise ValueError (
4202+ "'color' kwarg must be an color or sequence of color "
4203+ "specs. For a sequence of values to be color-mapped, use "
4204+ " the 'c' argument instead." )
42054205 if edgecolors is None :
42064206 edgecolors = kwcolor
42074207 if facecolors is None :
@@ -4257,8 +4257,8 @@ def invalid_shape_exception(csize, xsize):
42574257 # Both the mapping *and* the RGBA conversion failed: pretty
42584258 # severe failure => one may appreciate a verbose feedback.
42594259 raise ValueError (
4260- f"'c' argument must be a mpl color, a sequence of mpl "
4261- f"colors, or a sequence of numbers, not { c } . " )
4260+ f"'c' argument must be a color, a sequence of colors, or "
4261+ f"a sequence of numbers, not { c } " )
42624262 else :
42634263 if len (colors ) not in (0 , 1 , xsize ):
42644264 # NB: remember that a single color is also acceptable.
@@ -4289,11 +4289,11 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
42894289 The marker size in points**2.
42904290 Default is ``rcParams['lines.markersize'] ** 2``.
42914291
4292- c : color, sequence, or sequence of color , optional
4292+ c : color, sequence, or sequence of colors , optional
42934293 The marker color. Possible values:
42944294
42954295 - A single color format string.
4296- - A sequence of color specifications of length n.
4296+ - A sequence of colors of length n.
42974297 - A scalar or sequence of n numbers to be mapped to colors using
42984298 *cmap* and *norm*.
42994299 - A 2-D array in which the rows are RGB or RGBA.
@@ -5756,7 +5756,7 @@ def pcolor(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
57565756 - *None*: :rc:`patch.edgecolor` will be used. Note that currently
57575757 :rc:`patch.force_edgecolor` has to be True for this to work.
57585758 - 'face': Use the adjacent face color.
5759- - An mpl color or sequence of colors will set the edge color.
5759+ - A color or sequence of colors will set the edge color.
57605760
57615761 The singular form *edgecolor* works as an alias.
57625762
@@ -5990,7 +5990,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
59905990 - *None*: :rc:`patch.edgecolor` will be used. Note that currently
59915991 :rc:`patch.force_edgecolor` has to be True for this to work.
59925992 - 'face': Use the adjacent face color.
5993- - An mpl color or sequence of colors will set the edge color.
5993+ - A color or sequence of colors will set the edge color.
59945994
59955995 The singular form *edgecolor* works as an alias.
59965996
@@ -6507,8 +6507,8 @@ def hist(self, x, bins=None, range=None, density=None, weights=None,
65076507 Default is ``False``
65086508
65096509 color : color or array_like of colors or None, optional
6510- Color spec or sequence of color specs , one per dataset. Default
6511- (``None``) uses the standard line color sequence.
6510+ Color or sequence of colors , one per dataset. Default (``None``)
6511+ uses the standard line color sequence.
65126512
65136513 Default is ``None``
65146514
0 commit comments