From 68d002ab979d07959ecd1400f6a60f5cec927472 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Tue, 13 Aug 2019 23:01:45 +0200 Subject: [PATCH] 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 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