Skip to content

Commit 2da29f1

Browse files
authored
Merge pull request matplotlib#26644 from meeseeksmachine/auto-backport-of-pr-26641-on-v3.8.x
Backport PR matplotlib#26641 on branch v3.8.x ([Doc] Add ACCEPTS for some Axes set methods)
2 parents 57e79c4 + 67bb108 commit 2da29f1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,10 +1554,12 @@ def set_prop_cycle(self, *args, **kwargs):
15541554
15551555
Parameters
15561556
----------
1557-
cycler : Cycler
1557+
cycler : `~cycler.Cycler`
15581558
Set the given Cycler. *None* resets to the cycle defined by the
15591559
current style.
15601560
1561+
.. ACCEPTS: `~cycler.Cycler`
1562+
15611563
label : str
15621564
The property key. Must be a valid `.Artist` property.
15631565
For example, 'color' or 'linestyle'. Aliases are allowed,
@@ -3521,6 +3523,8 @@ def set_xbound(self, lower=None, upper=None):
35213523
The lower and upper bounds. If *None*, the respective axis bound
35223524
is not modified.
35233525
3526+
.. ACCEPTS: (lower: float, upper: float)
3527+
35243528
See Also
35253529
--------
35263530
get_xbound
@@ -3594,7 +3598,7 @@ def set_xlim(self, left=None, right=None, *, emit=True, auto=False,
35943598
(*left*, *right*) as the first positional argument (or as
35953599
the *left* keyword argument).
35963600
3597-
.. ACCEPTS: (bottom: float, top: float)
3601+
.. ACCEPTS: (left: float, right: float)
35983602
35993603
right : float, optional
36003604
The right xlim in data coordinates. Passing *None* leaves the
@@ -3770,6 +3774,8 @@ def set_ybound(self, lower=None, upper=None):
37703774
The lower and upper bounds. If *None*, the respective axis bound
37713775
is not modified.
37723776
3777+
.. ACCEPTS: (lower: float, upper: float)
3778+
37733779
See Also
37743780
--------
37753781
get_ybound

0 commit comments

Comments
 (0)