@@ -427,10 +427,10 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
427
427
`ax.transAxes`, i.e. the units of *rect* are in Axes-relative
428
428
coordinates.
429
429
430
- facecolor : color, default: 'none'
430
+ facecolor : :mpltype:` color` , default: 'none'
431
431
Facecolor of the rectangle.
432
432
433
- edgecolor : color, default: '0.5'
433
+ edgecolor : :mpltype:` color` , default: '0.5'
434
434
Color of the rectangle and color of the connecting lines.
435
435
436
436
alpha : float, default: 0.5
@@ -1073,7 +1073,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
1073
1073
Respective beginning and end of each line. If scalars are
1074
1074
provided, all lines will have the same length.
1075
1075
1076
- colors : color or list of colors, default: :rc:`lines.color`
1076
+ colors : :mpltype:` color` or list of colors, default: :rc:`lines.color`
1077
1077
1078
1078
linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
1079
1079
@@ -1164,7 +1164,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
1164
1164
Respective beginning and end of each line. If scalars are
1165
1165
provided, all lines will have the same length.
1166
1166
1167
- colors : color or list of colors , default: :rc:`lines.color`
1167
+ colors : :mpltype:` color` or list of color , default: :rc:`lines.color`
1168
1168
1169
1169
linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
1170
1170
@@ -1300,7 +1300,7 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1300
1300
If *positions* is 2D, this can be a sequence with length matching
1301
1301
the length of *positions*.
1302
1302
1303
- colors : color or list of colors , default: :rc:`lines.color`
1303
+ colors : :mpltype:` color` or list of color , default: :rc:`lines.color`
1304
1304
The color(s) of the event lines.
1305
1305
1306
1306
If *positions* is 2D, this can be a sequence with length matching
@@ -2333,10 +2333,10 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
2333
2333
2334
2334
Other Parameters
2335
2335
----------------
2336
- color : color or list of color, optional
2336
+ color : :mpltype:` color` or list of :mpltype:` color` , optional
2337
2337
The colors of the bar faces.
2338
2338
2339
- edgecolor : color or list of color, optional
2339
+ edgecolor : :mpltype:` color` or list of :mpltype:` color` , optional
2340
2340
The colors of the bar edges.
2341
2341
2342
2342
linewidth : float or array-like, optional
@@ -2368,7 +2368,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
2368
2368
See :doc:`/gallery/statistics/errorbar_features` for an example on
2369
2369
the usage of *xerr* and *yerr*.
2370
2370
2371
- ecolor : color or list of color, default: 'black'
2371
+ ecolor : :mpltype:` color` or list of :mpltype:` color` , default: 'black'
2372
2372
The line color of the errorbars.
2373
2373
2374
2374
capsize : float, default: :rc:`errorbar.capsize`
@@ -2646,10 +2646,10 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2646
2646
2647
2647
Other Parameters
2648
2648
----------------
2649
- color : color or list of color, optional
2649
+ color : :mpltype:` color` or list of :mpltype:` color` , optional
2650
2650
The colors of the bar faces.
2651
2651
2652
- edgecolor : color or list of color, optional
2652
+ edgecolor : :mpltype:` color` or list of :mpltype:` color` , optional
2653
2653
The colors of the bar edges.
2654
2654
2655
2655
linewidth : float or array-like, optional
@@ -2681,7 +2681,7 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2681
2681
See :doc:`/gallery/statistics/errorbar_features` for an example on
2682
2682
the usage of *xerr* and *yerr*.
2683
2683
2684
- ecolor : color or list of color, default: 'black'
2684
+ ecolor : :mpltype:` color` or list of :mpltype:` color` , default: 'black'
2685
2685
The line color of the errorbars.
2686
2686
2687
2687
capsize : float, default: :rc:`errorbar.capsize`
@@ -3139,7 +3139,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
3139
3139
labels : list, default: None
3140
3140
A sequence of strings providing the labels for each wedge
3141
3141
3142
- colors : color or array-like of color, default: None
3142
+ colors : :mpltype:` color` or list of :mpltype:` color` , default: None
3143
3143
A sequence of colors through which the pie chart will cycle. If
3144
3144
*None*, will use the colors in the currently active cycle.
3145
3145
@@ -3434,7 +3434,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
3434
3434
Use 'none' (case-insensitive) to plot errorbars without any data
3435
3435
markers.
3436
3436
3437
- ecolor : color, default: None
3437
+ ecolor : :mpltype:` color` , default: None
3438
3438
The color of the errorbar lines. If None, use the color of the
3439
3439
line connecting the markers.
3440
3440
@@ -4402,9 +4402,9 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xsize,
4402
4402
4403
4403
Parameters
4404
4404
----------
4405
- c : color or sequence or sequence of color or None
4405
+ c : :mpltype:` color` or array-like or list of :mpltype:` color` or None
4406
4406
See argument description of `.Axes.scatter`.
4407
- edgecolors : color or sequence of color or {'face', 'none'} or None
4407
+ edgecolors : :mpltype:` color` or sequence of color or {'face', 'none'} or None
4408
4408
See argument description of `.Axes.scatter`.
4409
4409
kwargs : dict
4410
4410
Additional kwargs. If these keys exist, we pop and process them:
@@ -4561,7 +4561,7 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4561
4561
To eliminate the marker edge either set *linewidth=0* or
4562
4562
*edgecolor='none'*.
4563
4563
4564
- c : array-like or list of colors or color, optional
4564
+ c : array-like or list of :mpltype:`color` or :mpltype:` color` , optional
4565
4565
The marker colors. Possible values:
4566
4566
4567
4567
- A scalar or sequence of n numbers to be mapped to colors using
@@ -4611,8 +4611,8 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None,
4611
4611
The linewidth of the marker edges. Note: The default *edgecolors*
4612
4612
is 'face'. You may want to change this as well.
4613
4613
4614
- edgecolors : {'face', 'none', *None*} or color or sequence of color, \
4615
- default: :rc:`scatter.edgecolors`
4614
+ edgecolors : {'face', 'none', *None*} or :mpltype:` color` or list of \
4615
+ :mpltype:`color`, default: :rc:`scatter.edgecolors`
4616
4616
The edge color of the marker. Possible values:
4617
4617
4618
4618
- 'face': The edge color will always be the same as the face color.
@@ -6724,7 +6724,7 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
6724
6724
log : bool, default: False
6725
6725
If ``True``, the histogram axis will be set to a log scale.
6726
6726
6727
- color : color or array-like of colors or None, default: None
6727
+ color : :mpltype:` color` or list of :mpltype:`color` or None, default: None
6728
6728
Color or sequence of colors, one per dataset. Default (``None``)
6729
6729
uses the standard line color sequence.
6730
6730
0 commit comments