There was an error while loading. Please reload this page.
2 parents 4a4980b + c3fd5c0 commit 5685acbCopy full SHA for 5685acb
1 file changed
lib/matplotlib/pyplot.py
@@ -790,21 +790,14 @@ def axes(arg=None, **kwargs):
790
791
Parameters
792
----------
793
- arg : { None, 4-tuple, Axes }
+ arg : None or 4-tuple
794
The exact behavior of this function depends on the type:
795
796
- *None*: A new full window axes is added using
797
``subplot(111, **kwargs)``
798
- 4-tuple of floats *rect* = ``[left, bottom, width, height]``.
799
A new axes is added with dimensions *rect* in normalized
800
(0, 1) units using `~.Figure.add_axes` on the current figure.
801
- - `~.axes.Axes`: This is equivalent to `.pyplot.sca`.
802
- It sets the current axes to *arg*. Note: This implicitly
803
- changes the current figure to the parent of *arg*.
804
-
805
- .. note:: The use of an `.axes.Axes` as an argument is deprecated
806
- and will be removed in v3.0. Please use `.pyplot.sca`
807
- instead.
808
809
projection : {None, 'aitoff', 'hammer', 'lambert', 'mollweide', \
810
'polar', 'rectilinear', str}, optional
0 commit comments