8000 [Doc] Add ACCEPTS for some Axes set methods · matplotlib/matplotlib@319bb03 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 319bb03

Browse files
committed
[Doc] Add ACCEPTS for some Axes set methods
1 parent 7dcc416 commit 319bb03

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,
@@ -3553,6 +3555,8 @@ def set_xbound(self, lower=None, upper=None):
35533555
The lower and upper bounds. If *None*, the respective axis bound
35543556
is not modified.
35553557
3558+
.. ACCEPTS: (lower: float, upper: float)
3559+
35563560
See Also
35573561
--------
35583562
get_xbound
@@ -3626,7 +3630,7 @@ def set_xlim(self, left=None, right=None, *, emit=True, auto=False,
36263630
(*left*, *right*) as the first positional argument (or as
36273631
the *left* keyword argument).
36283632
3629-
.. ACCEPTS: (bottom: float, top: float)
3633+
.. ACCEPTS: (left: float, right: float)
36303634
36313635
right : float, optional
36323636
The right xlim in data coordinates. Passing *None* leaves the
@@ -3802,6 +3806,8 @@ def set_ybound(self, lower=None, upper=None):
38023806
The lower and upper bounds. If *None*, the respective axis bound
38033807
is not modified.
38043808
3809+
.. ACCEPTS: (lower: float, upper: float)
3810+
38053811
See Also
38063812
--------
38073813
get_ybound

0 commit comments

Comments
 (0)
0