From c3fd5c09443fb33d75153ef51f053b4669ad6493 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 14 Aug 2019 07:52:16 +0200 Subject: [PATCH] Backport PR #15055: Remove mention of now-removed feature in docstring. --- lib/matplotlib/pyplot.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/matplotlib/pyplot.py b/lib/matplotlib/pyplot.py index cadb906ab065..782b6897204f 100644 --- a/lib/matplotlib/pyplot.py +++ b/lib/matplotlib/pyplot.py @@ -790,7 +790,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 @@ -798,13 +798,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