8000 Backport PR #15055: Remove mention of now-removed feature in docstring. · matplotlib/matplotlib@c3fd5c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3fd5c0

Browse files
timhoffmMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #15055: Remove mention of now-removed feature in docstring.
1 parent 4a4980b commit c3fd5c0

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -790,21 +790,14 @@ def axes(arg=None, **kwargs):
790790
791791
Parameters
792792
----------
793-
arg : { None, 4-tuple, Axes }
793+
arg : None or 4-tuple
794794
The exact behavior of this function depends on the type:
795795
796796
- *None*: A new full window axes is added using
797797
``subplot(111, **kwargs)``
798798
- 4-tuple of floats *rect* = ``[left, bottom, width, height]``.
799799
A new axes is added with dimensions *rect* in normalized
800800
(0, 1) units using `~.Figure.add_axes` on the current figure.
801-
- `~.axes.Axes`: This is equivalent to `.pyplot.sca`.
802-
It sets the current axes to *arg*. Note: This implicitly
803-
changes the current figure to the parent of *arg*.
804-
805-
.. note:: The use of an `.axes.Axes` as an argument is deprecated
806-
and will be removed in v3.0. Please use `.pyplot.sca`
807-
instead.
808801
809802
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \
810803
'polar', 'rectilinear', str}, optional

0 commit comments

Comments
 (0)
2A8B
0