Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 803a05f

Browse files
committed
DOC Remove old API notes from updated docstrings
1 parent 349909e commit 803a05f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,11 +2807,11 @@ def set_xlim(self, left=None, right=None, emit=True, auto=False, **kw):
28072807
----------
28082808
left : scalar, optional
28092809
The left xlim (default: None, which leaves the left limit
2810-
unchanged). The previous name `xmin` may be used instead.
2810+
unchanged).
28112811
28122812
right : scalar, optional
28132813
The right xlim (default: None, which leaves the right limit
2814-
unchanged). The previous name `xmax` may be used instead.
2814+
unchanged).
28152815
28162816
emit : bool, optional
28172817
Whether to notify observers of limit change (default: True).
@@ -2828,8 +2828,7 @@ def set_xlim(self, left=None, right=None, emit=True, auto=False, **kw):
28282828
Returns
28292829
-------
28302830
xlimits : tuple
2831-
Returns the current x-axis limits, reflecting any changes
2832-
made by this call, as (`left`, `right`).
2831+
Returns the new x-axis limits as (`left`, `right`).
28332832
28342833
Notes
28352834
-----
@@ -3089,12 +3088,11 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False, **kw):
30893088
----------
30903089
bottom : scalar, optional
30913090
The bottom ylim (default: None, which leaves the bottom
3092-
limit unchanged). The previous name `ymin` may be used
3093-
instead.
3091+
limit unchanged).
30943092
30953093
top : scalar, optional
30963094
The top ylim (default: None, which leaves the top limit
3097-
unchanged). The previous name `ymax` may be used instead.
3095+
unchanged).
30983096
30993097
emit : bool, optional
31003098
Whether to notify observers of limit change (default: True).
@@ -3111,8 +3109,7 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False, **kw):
31113109
Returns
31123110
-------
31133111
ylimits : tuple
3114-
Returns the current y-axis limits, reflecting any changes
3115-
made by this call, as (`bottom`, `top`).
3112+
Returns the new y-axis limits as (`bottom`, `top`).
31163113
31173114
Notes
31183115
-----

0 commit comments

Comments
 (0)