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 67f59ed

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-8
lines changed

‎lib/matplotlib/pyplot.py

Copy file name to clipboardExpand all lines: lib/matplotlib/pyplot.py
+1-8Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.