diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index f6bb444791ad..4968072c0c6b 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -740,7 +740,7 @@ def axes(arg=None, **kwargs): Parameters ---------- - arg : { None, 4-tuple, Axes } + arg : None or 4-tuple The exact behavior of this function depends on the type: - *None*: A new full window axes is added using @@ -748,13 +748,6 @@ def axes(arg=None, **kwargs): - 4-tuple of floats *rect* = ``[left, bottom, width, height]``. A new axes is added with dimensions *rect* in normalized (0, 1) units using `~.Figure.add_axes` on the current figure. - - `~.axes.Axes`: This is equivalent to `.pyplot.sca`. - It sets the current axes to *arg*. Note: This implicitly - changes the current figure to the parent of *arg*. - - .. note:: The use of an `.axes.Axes` as an argument is deprecated - and will be removed in v3.0. Please use `.pyplot.sca` - instead. projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \ 'polar', 'rectilinear', str}, optional pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy