|
43 | 43 | # All the other methods should go in the _AxesBase class.
|
44 | 44 |
|
45 | 45 |
|
| 46 | +@docstring.interpd |
46 | 47 | class Axes(_AxesBase):
|
47 | 48 | """
|
48 | 49 | The `Axes` contains most of the figure elements: `~.axis.Axis`,
|
@@ -397,7 +398,7 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
|
397 | 398 | **kwargs
|
398 | 399 | Other keyword arguments are passed on to the `.Rectangle` patch:
|
399 | 400 |
|
400 |
| - %(Rectangle_kwdoc)s |
| 401 | + %(Rectangle:kwdoc)s |
401 | 402 |
|
402 | 403 | Returns
|
403 | 404 | -------
|
@@ -609,7 +610,7 @@ def text(self, x, y, s, fontdict=None, **kwargs):
|
609 | 610 | **kwargs : `~matplotlib.text.Text` properties.
|
610 | 611 | Other miscellaneous text parameters.
|
611 | 612 |
|
612 |
| - %(Text_kwdoc)s |
| 613 | + %(Text:kwdoc)s |
613 | 614 |
|
614 | 615 | Examples
|
615 | 616 | --------
|
@@ -686,7 +687,7 @@ def axhline(self, y=0, xmin=0, xmax=1, **kwargs):
|
686 | 687 | Valid keyword arguments are `.Line2D` properties, with the
|
687 | 688 | exception of 'transform':
|
688 | 689 |
|
689 |
| - %(Line2D_kwdoc)s |
| 690 | + %(Line2D:kwdoc)s |
690 | 691 |
|
691 | 692 | See Also
|
692 | 693 | --------
|
@@ -753,7 +754,7 @
10000
@ def axvline(self, x=0, ymin=0, ymax=1, **kwargs):
|
753 | 754 | Valid keyword arguments are `.Line2D` properties, with the
|
754 | 755 | exception of 'transform':
|
755 | 756 |
|
756 |
| - %(Line2D_kwdoc)s |
| 757 | + %(Line2D:kwdoc)s |
757 | 758 |
|
758 | 759 | See Also
|
759 | 760 | --------
|
@@ -837,7 +838,7 @@ def axline(self, xy1, xy2=None, *, slope=None, **kwargs):
|
837 | 838 | **kwargs
|
838 | 839 | Valid kwargs are `.Line2D` properties
|
839 | 840 |
|
840 |
| - %(Line2D_kwdoc)s |
| 841 | + %(Line2D:kwdoc)s |
841 | 842 |
|
842 | 843 | See Also
|
843 | 844 | --------
|
@@ -905,7 +906,7 @@ def axhspan(self, ymin, ymax, xmin=0, xmax=1, **kwargs):
|
905 | 906 | ----------------
|
906 | 907 | **kwargs : `~matplotlib.patches.Polygon` properties
|
907 | 908 |
|
908 |
| - %(Polygon_kwdoc)s |
| 909 | + %(Polygon:kwdoc)s |
909 | 910 |
|
910 | 911 | See Also
|
911 | 912 | --------
|
@@ -953,7 +954,7 @@ def axvspan(self, xmin, xmax, ymin=0, ymax=1, **kwargs):
|
953 | 954 | ----------------
|
954 | 955 | **kwargs : `~matplotlib.patches.Polygon` properties
|
955 | 956 |
|
956 |
| - %(Polygon_kwdoc)s |
| 957 | + %(Polygon:kwdoc)s |
957 | 958 |
|
958 | 959 | See Also
|
959 | 960 | --------
|
@@ -1506,7 +1507,7 @@ def plot(self, *args, scalex=True, scaley=True, data=None, **kwargs):
|
1506 | 1507 |
|
1507 | 1508 | Here is a list of available `.Line2D` properties:
|
1508 | 1509 |
|
1509 |
| - %(Line2D_kwdoc)s |
| 1510 | + %(Line2D:kwdoc)s |
1510 | 1511 |
|
1511 | 1512 | See Also
|
1512 | 1513 | --------
|
@@ -1651,7 +1652,7 @@ def plot_date(self, x, y, fmt='o', tz=None, xdate=True, ydate=False,
|
1651 | 1652 | **kwargs
|
1652 | 1653 | Keyword arguments control the `.Line2D` properties:
|
1653 | 1654 |
|
1654 |
| - %(Line2D_kwdoc)s |
| 1655 | + %(Line2D:kwdoc)s |
1655 | 1656 |
|
1656 | 1657 | See Also
|
1657 | 1658 | --------
|
@@ -2222,7 +2223,7 @@ def bar(self, x, height, width=0.8, bottom=None, *, align="center",
|
2222 | 2223 |
|
2223 | 2224 | **kwargs : `.Rectangle` properties
|
2224 | 2225 |
|
2225 |
| - %(Rectangle_kwdoc)s |
| 2226 | + %(Rectangle:kwdoc)s |
2226 | 2227 |
|
2227 | 2228 | See Also
|
2228 | 2229 | --------
|
@@ -2497,7 +2498,7 @@ def barh(self, y, width, height=0.8, left=None, *, align="center",
|
2497 | 2498 |
|
2498 | 2499 | **kwargs : `.Rectangle` properties
|
2499 | 2500 |
|
2500 |
| - %(Rectangle_kwdoc)s |
| 2501 | + %(Rectangle:kwdoc)s |
2501 | 2502 |
|
2502 | 2503 | See Also
|
2503 | 2504 | --------
|
@@ -2685,7 +2686,7 @@ def broken_barh(self, xranges, yrange, **kwargs):
|
2685 | 2686 |
|
2686 | 2687 | Supported keywords:
|
2687 | 2688 |
|
2688 |
| - %(BrokenBarHCollection_kwdoc)s |
| 2689 | + %(BrokenBarHCollection:kwdoc)s |
2689 | 2690 | """
|
2690 | 2691 | # process the unit information
|
2691 | 2692 | if len(xranges):
|
@@ -3276,7 +3277,7 @@ def errorbar(self, x, y, yerr=None, xerr=None,
|
3276 | 3277 |
|
3277 | 3278 | Valid kwargs for the marker properties are `.Line2D` properties:
|
3278 | 3279 |
|
3279 |
| - %(Line2D_kwdoc)s |
| 3280 | + %(Line2D:kwdoc)s |
3280 | 3281 | """
|
3281 | 3282 | kwargs = cbook.normalize_kwargs(kwargs, mlines.Line2D)
|
3282 | 3283 | # anything that comes in as 'None', drop so the default thing
|
@@ -4728,7 +4729,7 @@ def reduce_C_function(C: array) -> float
|
4728 | 4729 | **kwargs : `~matplotlib.collections.PolyCollection` properties
|
4729 | 4730 | All other keyword arguments are passed on to `.PolyCollection`:
|
4730 | 4731 |
|
4731 |
| - %(PolyCollection_kwdoc)s |
| 4732 | + %(PolyCollection:kwdoc)s |
4732 | 4733 |
|
4733 | 4734 | """
|
4734 | 4735 | self._process_unit_info([("x", x), ("y", y)], kwargs, convert=False)
|
@@ -5237,7 +5238,7 @@ def _fill_between_x_or_y(
|
5237 | 5238 | All other keyword arguments are passed on to `.PolyCollection`.
|
5238 | 5239 | They control the `.Polygon` properties:
|
5239 | 5240 |
|
5240 |
| - %(PolyCollection_kwdoc)s |
| 5241 | + %(PolyCollection:kwdoc)s |
5241 | 5242 |
|
5242 | 5243 | See Also
|
5243 | 5244 | --------
|
@@ -5843,7 +5844,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
|
5843 | 5844 | Additionally, the following arguments are allowed. They are passed
|
5844 | 5845 | along to the `~matplotlib.collections.PolyCollection` constructor:
|
5845 | 5846 |
|
5846 |
| - %(PolyCollection_kwdoc)s |
| 5847 | + %(PolyCollection:kwdoc)s |
5847 | 5848 |
|
5848 | 5849 | See Also
|
5849 | 5850 | --------
|
@@ -6088,7 +6089,7 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
|
6088 | 6089 | Additionally, the following arguments are allowed. They are passed
|
6089 | 6090 | along to the `~matplotlib.collections.QuadMesh` constructor:
|
6090 | 6091 |
|
6091 |
| - %(QuadMesh_kwdoc)s |
| 6092 | + %(QuadMesh:kwdoc)s |
6092 | 6093 |
|
6093 | 6094 | See Also
|
6094 | 6095 | --------
|
@@ -7129,7 +7130,7 @@ def psd(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
|
7129 | 7130 | **kwargs
|
7130 | 7131 | Keyword arguments control the `.Line2D` properties:
|
7131 | 7132 |
|
7132 |
| - %(Line2D_kwdoc)s |
| 7133 | + %(Line2D:kwdoc)s |
7133 | 7134 |
|
7134 | 7135 | See Also
|
7135 | 7136 | --------
|
@@ -7242,7 +7243,7 @@ def csd(self, x, y, NFFT=None, Fs=None, Fc=None, detrend=None,
|
7242 | 7243 | **kwargs
|
7243 | 7244 | Keyword arguments control the `.Line2D` properties:
|
7244 | 7245 |
|
7245 |
| - %(Line2D_kwdoc)s |
| 7246 | + %(Line2D:kwdoc)s |
7246 | 7247 |
|
7247 | 7248 | See Also
|
7248 | 7249 | --------
|
@@ -7332,7 +7333,7 @@ def magnitude_spectrum(self, x, Fs=None, Fc=None, window=None,
|
7332 | 7333 | **kwargs
|
7333 | 7334 | Keyword arguments control the `.Line2D` properties:
|
7334 | 7335 |
|
7335 |
| - %(Line2D_kwdoc)s |
| 7336 | + %(Line2D:kwdoc)s |
7336 | 7337 |
|
7337 | 7338 | See Also
|
7338 | 7339 | --------
|
@@ -7409,7 +7410,7 @@ def angle_spectrum(self, x, Fs=None, Fc=None, window=None,
|
7409 | 7410 | **kwargs
|
7410 | 7411 | Keyword arguments control the `.Line2D` properties:
|
7411 | 7412 |
|
7412 |
| - %(Line2D_kwdoc)s |
| 7413 | + %(Line2D:kwdoc)s |
7413 | 7414 |
|
7414 | 7415 | See Also
|
7415 | 7416 | --------
|
@@ -7475,7 +7476,7 @@ def phase_spectrum(self, x, Fs=None, Fc=None, window=None,
|
7475 | 7476 | **kwargs
|
7476 | 7477 | Keyword arguments control the `.Line2D` properties:
|
7477 | 7478 |
|
7478 |
| - %(Line2D_kwdoc)s |
| 7479 | + %(Line2D:kwdoc)s |
7479 | 7480 |
|
7480 | 7481 | See Also
|
7481 | 7482 | --------
|
@@ -7542,7 +7543,7 @@ def cohere(self, x, y, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,
|
7542 | 7543 | **kwargs
|
7543 | 7544 | Keyword arguments control the `.Line2D` properties:
|
7544 | 7545 |
|
7545 |
| - %(Line2D_kwdoc)s |
| 7546 <
10000
/td> | + %(Line2D:kwdoc)s |
7546 | 7547 |
|
7547 | 7548 | References
|
7548 | 7549 | ----------
|
@@ -7792,7 +7793,7 @@ def spy(self, Z, precision=0, marker=None, markersize=None,
|
7792 | 7793 | For the marker style, you can pass any `.Line2D` property except
|
7793 | 7794 | for *linestyle*:
|
7794 | 7795 |
|
7795 |
| - %(Line2D_kwdoc)s |
| 7796 | + %(Line2D:kwdoc)s |
7796 | 7797 | """
|
7797 | 7798 | if marker is None and markersize is None and hasattr(Z, 'tocoo'):
|
7798 | 7799 | marker = 's'
|
|
0 commit comments