@@ -411,27 +411,27 @@ def legend(self, *args, **kwargs):
411
411
412
412
numpoints : None or int
413
413
The number of marker points in the legend when creating a legend
414
- entry for a line/:class:`matplotlib.lines. Line2D`.
415
- Default is ``None`` which will take the value from the
416
- ``legend.numpoints`` :data:`rcParam<matplotlib.rcParams> `.
414
+ entry for a `~. Line2D` (line) .
415
+ Default is ``None``, which will take the value from
416
+ :rc:`legend.numpoints `.
417
417
418
418
scatterpoints : None or int
419
- The number of marker points in the legend when creating a legend
420
- entry for a scatter plot/
421
- :class:`matplotlib.collections.PathCollection`.
422
- Default is ``None`` which will take the value from the
423
- ``legend.scatterpoints`` :data:`rcParam<matplotlib.rcParams>`.
419
+ The number of marker points in the legend when creating
420
+ a legend entry for a `~.PathCollection` (scatter plot).
421
+ Default is ``None``, which will take the value from
422
+ :rc:`legend.scatterpoints`.
424
423
425
424
scatteryoffsets : iterable of floats
426
425
The vertical offset (relative to the font size) for the markers
427
426
created for a scatter plot legend entry. 0.0 is at the base the
428
427
legend text, and 1.0 is at the top. To draw all markers at the
429
- same height, set to ``[0.5]``. Default ``[0.375, 0.5, 0.3125]``.
428
+ same height, set to ``[0.5]``. Default is ``[0.375, 0.5, 0.3125]``.
430
429
431
430
markerscale : None or int or float
432
431
The relative size of legend markers compared with the originally
433
- drawn ones. Default is ``None`` which will take the value from
434
- the ``legend.markerscale`` :data:`rcParam <matplotlib.rcParams>`.
432
+ drawn ones.
433
+ Default is ``None``, which will take the value from
434
+ :rc:`legend.markerscale`.
435
435
436
436
markerfirst : bool
437
437
If *True*, legend marker is placed to the left of the legend label.
@@ -440,42 +440,40 @@ def legend(self, *args, **kwargs):
440
440
Default is *True*.
441
441
442
442
frameon : None or bool
443
- Control whether the legend should be drawn on a patch (frame).
444
- Default is ``None`` which will take the value from the
445
- ``legend.frameon`` :data:`rcParam<matplotlib.rcParams>`.
443
+ Control whether the legend should be drawn on a patch
444
+ (frame).
445
+ Default is ``None``, which will take the value from
446
+ :rc:`legend.frameon`.
446
447
447
448
fancybox : None or bool
448
- Control whether round edges should be enabled around
449
- the :class:`~matplotlib.patches.FancyBboxPatch` which
450
- makes up the legend's background.
451
- Default is ``None`` which will take the value from the
452
- ``legend.fancybox`` :data:`rcParam<matplotlib.rcParams> `.
449
+ Control whether round edges should be enabled around the
450
+ :class:`~matplotlib.patches.FancyBboxPatch` which makes up the
451
+ legend's background.
452
+ Default is ``None``, which will take the value from
453
+ :rc:`legend.fancybox `.
453
454
454
455
shadow : None or bool
455
456
Control whether to draw a shadow behind the legend.
456
- Default is ``None`` which will take the value from the
457
- ``legend.shadow`` :data:`rcParam<matplotlib.rcParams> `.
457
+ Default is ``None``, which will take the value from
458
+ :rc:`legend.shadow `.
458
459
459
460
framealpha : None or float
460
461
Control the alpha transparency of the legend's background.
461
- Default is ``None`` which will take the value from the
462
- ``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.
463
- If shadow is activated and framealpha is ``None`` the
464
- default value is being ignored.
462
+ Default is ``None``, which will take the value from
463
+ :rc:`legend.framealpha`. If shadow is activated and
464
+ *framealpha* is ``None``, the default value is ignored.
465
465
466
466
facecolor : None or "inherit" or a color spec
467
467
Control the legend's background color.
468
- Default is ``None`` which will take the value from the
469
- ``legend.facecolor`` :data:`rcParam<matplotlib.rcParams>`.
470
- If ``"inherit"``, it will take the ``axes.facecolor``
471
- :data:`rcParam<matplotlib.rcParams>`.
468
+ Default is ``None``, which will take the value from
469
+ :rc:`legend.facecolor`. If ``"inherit"``, it will take
470
+ :rc:`axes.facecolor`.
472
471
473
472
edgecolor : None or "inherit" or a color spec
474
473
Control the legend's background patch edge color.
475
- Default is ``None`` which will take the value from the
476
- ``legend.edgecolor`` :data:`rcParam<matplotlib.rcParams>`.
477
- If ``"inherit"``, it will take the ``axes.edgecolor``
478
- :data:`rcParam<matplotlib.rcParams>`.
474
+ Default is ``None``, which will take the value from
475
+ :rc:`legend.edgecolor` If ``"inherit"``, it will take
476
+ :rc:`axes.edgecolor`.
479
477
480
478
mode : {"expand", None}
481
479
If `mode` is set to ``"expand"`` the legend will be horizontally
@@ -493,38 +491,38 @@ def legend(self, *args, **kwargs):
493
491
borderpad : float or None
494
492
The fractional whitespace inside the legend border.
495
493
Measured in font-size units.
496
- Default is ``None`` which will take the value from the
497
- ``legend.borderpad`` :data:`rcParam<matplotlib.rcParams> `.
494
+ Default is ``None``, which will take the value from
495
+ :rc:`legend.borderpad `.
498
496
499
497
labelspacing : float or None
500
498
The vertical space between the legend entries.
501
499
Measured in font-size units.
502
- Default is ``None`` which will take the value from the
503
- ``legend.labelspacing`` :data:`rcParam<matplotlib.rcParams> `.
500
+ Default is ``None``, which will take the value from
501
+ :rc:`legend.labelspacing `.
504
502
505
503
handlelength : float or None
506
504
The length of the legend handles.
507
505
Measured in font-size units.
508
- Default is ``None`` which will take the value from the
509
- ``legend.handlelength`` :data:`rcParam<matplotlib.rcParams> `.
506
+ Default is ``None``, which will take the value from
507
+ :rc:`legend.handlelength `.
510
508
511
509
handletextpad : float or None
512
510
The pad between the legend handle and text.
513
511
Measured in font-size units.
514
- Default is ``None`` which will take the value from the
515
- ``legend.handletextpad`` :data:`rcParam<matplotlib.rcParams> `.
512
+ Default is ``None``, which will take the value from
513
+ :rc:`legend.handletextpad `.
516
514
517
515
borderaxespad : float or None
518
516
The pad between the axes and legend border.
519
517
Measured in font-size units.
520
- Default is ``None`` which will take the value from the
521
- ``legend.borderaxespad`` :data:`rcParam<matplotlib.rcParams> `.
518
+ Default is ``None``, which will take the value from
519
+ :rc:`legend.borderaxespad `.
522
520
523
521
columnspacing : float or None
524
522
The spacing between columns.
525
523
Measured in font-size units.
526
- Default is ``None`` which will take the value from the
527
- ``legend.columnspacing`` :data:`rcParam<matplotlib.rcParams> `.
524
+ Default is ``None``, which will take the value from
525
+ :rc:`legend.columnspacing `.
528
526
529
527
handler_map : dict or None
530
528
The custom dictionary mapping instances or types to a legend
@@ -2058,8 +2056,8 @@ def bar(self, *args, **kwargs):
2058
2056
2059
2057
capsize : scalar, optional
2060
2058
The length of the error bar caps in points.
2061
- Default: None, which will take the value from the
2062
- ``errorbar.capsize`` :data:`rcParam<matplotlib.rcParams> `.
2059
+ Default: None, which will take the value from
2060
+ :rc:`errorbar.capsize `.
2063
2061
2064
2062
error_kw : dict, optional
2065
2063
Dictionary of kwargs to be passed to the `~.Axes.errorbar`
@@ -2376,8 +2374,8 @@ def barh(self, *args, **kwargs):
2376
2374
2377
2375
capsize : scalar, optional
2378
2376
The length of the error bar caps in points.
2379
- Default: None, which will take the value from the
2380
- ``errorbar.capsize`` :data:`rcParam<matplotlib.rcParams> `.
2377
+ Default: None, which will take the value from
2378
+ :rc:`errorbar.capsize `.
2381
2379
2382
2380
error_kw : dict, optional
2383
2381
Dictionary of kwargs to be passed to the `~.Axes.errorbar`
@@ -2973,9 +2971,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,
2973
2971
the current style is used.
2974
2972
2975
2973
capsize : scalar, optional, default: None
2976
- The length of the error bar caps in points. If None, it will
2977
- take the value from ``errorbar.capsize``
2978
- :data:`rcParam<matplotlib.rcParams>`.
2974
+ The length of the error bar caps in points. If None, it will take
2975
+ the value from :rc:`errorbar.capsize`.
2979
2976
2980
2977
capthick : scalar, optional, default: None
2981
2978
An alias to the keyword argument *markeredgewidth* (a.k.a. *mew*).
@@ -5609,9 +5606,9 @@ def pcolor(self, *args, **kwargs):
5609
5606
``edgecolors="none"`` is used. This eliminates artificial lines
5610
5607
at patch boundaries, and works regardless of the value of alpha.
5611
5608
If ``edgecolors`` is not "none", then the default ``antialiaseds``
5612
- is taken from ``rcParams[' patch.antialiased']`` , which defaults to
5613
- True. Stroking the edges may be preferred if ``alpha`` is 1, but
5614
- will cause artifacts otherwise.
5609
+ is taken from :rc:` patch.antialiased` , which defaults to True.
5610
+ Stroking the edges may be preferred if ``alpha`` is 1, but will
5611
+ cause artifacts otherwise.
5615
5612
5616
5613
**kwargs :
5617
5614
0 commit comments