@@ -430,10 +430,10 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
430
430
`ax.transAxes`, i.e. the units of *rect* are in Axes-relative
431
431
coordinates.
432
432
433
- facecolor : color, default: 'none'
433
+ facecolor : :mpltype:` color` , default: 'none'
434
434
Facecolor of the rectangle.
435
435
436
- edgecolor : color, default: '0.5'
436
+ edgecolor : :mpltype:` color` , default: '0.5'
437
437
Color of the rectangle and color of the connecting lines.
438
438
439
439
alpha : float, default: 0.5
@@ -1076,7 +1076,7 @@ def hlines(self, y, xmin, xmax, colors=None, linestyles='solid',
1076
1076
Respective beginning and end of each line. If scalars are
1077
1077
provided, all lines will have the same length.
1078
1078
1079
- colors : color or list of colors, default: :rc:`lines.color`
1079
+ colors : :mpltype:` color` or list of colors, default: :rc:`lines.color`
1080
1080
1081
1081
linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
1082
1082
@@ -1167,7 +1167,7 @@ def vlines(self, x, ymin, ymax, colors=None, linestyles='solid',
1167
1167
Respective beginning and end of each line. If scalars are
1168
1168
provided, all lines will have the same length.
1169
1169
1170
- colors : color or list of colors, default: :rc:`lines.color`
1170
+ colors : :mpltype:` color` or list of colors, default: :rc:`lines.color`
1171
1171
1172
1172
linestyles : {'solid', 'dashed', 'dashdot', 'dotted'}, default: 'solid'
1173
1173
@@ -1303,7 +1303,7 @@ def eventplot(self, positions, orientation='horizontal', lineoffsets=1,
1303
1303
If *positions* is 2D, this can be a sequence with length matching
1304
1304
the length of *positions*.
1305
1305
1306
- colors : color or list of colors, default: :rc:`lines.color`
1306
+ colors : :mpltype:` color` or list of colors, default: :rc:`lines.color`
1307
1307
The color(s) of the event lines.
1308
1308
1309
1309
If *positions* is 2D, this can be a sequence with length matching
@@ -2336,10 +2336,10 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
2336
2336
2337
2337
Other Parameters
2338
2338
----------------
2339
- color : color or list of color, optional
2339
+ color : :mpltype:` color` or list of color, optional
2340
2340
The colors of the bar faces.
2341
2341
2342
- edgecolor : color or list of color, optional
2342
+ edgecolor : :mpltype:` color` or list of color, optional
2343
2343
The colors of the bar edges.
2344
2344
2345
2345
linewidth : float or array-like, optional
@@ -2371,7 +2371,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
2371
2371
See :doc:`/gallery/statistics/errorbar_features` for an example on
2372
2372
the usage of *xerr* and *yerr*.
2373
2373
2374
- ecolor : color or list of color, default: 'black'
2374
+ ecolor : :mpltype:` color` or list of color, default: 'black'
2375
2375
The line color of the errorbars.
2376
2376
2377
2377
capsize : float, default: :rc:`errorbar.capsize`
@@ -2649,10 +2649,10 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2649
2649
2650
2650
Other Parameters
2651
2651
----------------
2652
- color : color or list of color, optional
2652
+ color : :mpltype:` color` or list of color, optional
2653
2653
The colors of the bar faces.
2654
2654
2655
- edgecolor : color or list of color, optional
2655
+ edgecolor : :mpltype:` color` or list of color, optional
2656
2656
The colors of the bar edges.
2657
2657
2658
2658
linewidth : float or array-like, optional
@@ -2684,7 +2684,7 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
2684
2684
See :doc:`/gallery/statistics/errorbar_features` for an example on
2685
2685
the usage of *xerr* and *yerr*.
2686
2686
2687
- ecolor : color or list of color, default: 'black'
2687
+ ecolor : :mpltype:` color` or list of color, default: 'black'
2688
2688
The line color of the errorbars.
2689
2689
2690
2690
capsize : float, default: :rc:`errorbar.capsize`
@@ -3142,7 +3142,7 @@ def pie(self, x, explode=None, labels=None, colors=None,
3142
3142
labels : list, default: None
3143
3143
A sequence of strings providing the labels for each wedge
3144
3144
3145
- colors : color or array-like of color, default: None
3145
+ colors : :mpltype:` color` or array-like of color, default: None
3146
3146
A sequence of colors through which the pie chart will cycle. If
3147
3147
*None*, will use the colors in the currently active cycle.
3148
3148
@@ -3437,7 +3437,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
3437
3437
Use 'none' (case-insensitive) to plot errorbars without any data
3438
3438
markers.
3439
3439
3440
- ecolor : color, default: None
3440
+ ecolor : :mpltype:` color` , default: None
3441
3441
The color of the errorbar lines. If None, use the color of the
3442
3442
line connecting the markers.
3443
3443
@@ -4400,9 +4400,9 @@ def _parse_scatter_color_args(c, edgecolors, kwargs, xsize,
4400
4400
4401
4401
Parameters
4402
4402
----------
4403
- c : color or sequence or sequence of color or None
4403
+ c : :mpltype:` color` or sequence or sequence of color or None
4404
4404
See argument description of `.Axes.scatter`.
4405
- edgecolors : color or sequence of color or {'face', 'none'} or None
4405
+ edgecolors : :mpltype:` color` or sequence of color or {'face', 'none'} or None
4406
4406
See argument description of `.Axes.scatter`.
4407
4407
kwargs : dict
4408
4408
Additional kwargs. If these keys exist, we pop and process them:
@@ -6718,7 +6718,7 @@ def hist(self, x, bins=None, range=None, density=False, weights=None,
6718
6718
log : bool, default: False
6719
6719
If ``True``, the histogram axis will be set to a log scale.
6720
6720
6721
- color : color or array-like of colors or None, default: None
6721
+ color : :mpltype:` color` or array-like of colors or None, default: None
6722
6722
Color or sequence of colors, one per dataset. Default (``None``)
6723
6723
uses the standard line color sequence.
6724
6724
0 commit comments