Skip to content

Commit 67f59ed

Browse files
authored
Merge pull request #15055 from anntzer/olddoc
Remove mention of now-removed feature in docstring.
2 parents 67c7dca + 68d002a commit 67f59ed

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
@@ -740,21 +740,14 @@ def axes(arg=None, **kwargs):
740740
741741
Parameters
742742
----------
743-
arg : { None, 4-tuple, Axes }
743+
arg : None or 4-tuple
744744
The exact behavior of this function depends on the type:
745745
746746
- *None*: A new full window axes is added using
747747
``subplot(111, **kwargs)``
748748
- 4-tuple of floats *rect* = ``[left, bottom, width, height]``.
749749
A new axes is added with dimensions *rect* in normalized
750750
(0, 1) units using `~.Figure.add_axes` on the current figure.
751-
- `~.axes.Axes`: This is equivalent to `.pyplot.sca`.
752-
It sets the current axes to *arg*. Note: This implicitly
753-
changes the current figure to the parent of *arg*.
754-
755-
.. note:: The use of an `.axes.Axes` as an argument is deprecated
756-
and will be removed in v3.0. Please use `.pyplot.sca`
757-
instead.
758751
759752
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \
760753
'polar', 'rectilinear', str}, optional

0 commit comments

Comments
 (0)