File tree 4 files changed +16
-12
lines changed
4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,17 @@ The Axes class
28
28
29
29
Axes
30
30
31
+ Attributes
32
+ ----------
33
+
34
+ .. autosummary ::
35
+ :toctree: _as_gen
36
+ :template: autosummary.rst
37
+ :nosignatures:
38
+
39
+ Axes.viewLim
40
+ Axes.dataLim
41
+
31
42
Plotting
32
43
========
33
44
Original file line number Diff line number Diff line change 341
341
"Artist.stale_callback" : [
342
342
" doc/users/explain/figure/interactive_guide.rst:323"
343
343
],
344
- "Axes.dataLim" : [
345
- " doc/api/axes_api.rst:293:<autosummary>:1" ,
346
- " lib/matplotlib/axes/_base.py:docstring of matplotlib.axes._base._AxesBase.update_datalim:2"
347
- ],
348
344
"AxesBase" : [
349
345
" doc/api/axes_api.rst:448:<autosummary>:1" ,
350
346
" lib/matplotlib/axes/_base.py:docstring of matplotlib.axes._base._AxesBase.add_child_axes:2"
Original file line number Diff line number Diff line change @@ -86,13 +86,6 @@ class Axes(_AxesBase):
86
86
methods instead; e.g. from `.pyplot` or `.Figure`:
87
87
`~.pyplot.subplots`, `~.pyplot.subplot_mosaic` or `.Figure.add_axes`.
88
88
89
- Attributes
90
- ----------
91
- dataLim : `.Bbox`
92
- The bounding box enclosing all data displayed in the Axes.
93
- viewLim : `.Bbox`
94
- The view limits in data coordinates.
95
-
96
89
"""
97
90
### Labelling, legend and texts
98
91
Original file line number Diff line number Diff line change @@ -551,6 +551,9 @@ class _AxesBase(martist.Artist):
551
551
552
552
_subclass_uses_cla = False
553
553
554
+ dataLim : mtransforms .Bbox
555
+ """The bounding `.Bbox` enclosing all data displayed in the Axes."""
556
+
554
557
@property
555
558
def _axis_map (self ):
556
559
"""A mapping of axis names, e.g. 'x', to `Axis` instances."""
@@ -849,6 +852,7 @@ def _unstale_viewLim(self):
849
852
850
853
@property
851
854
def viewLim (self ):
855
+ """The view limits as `.Bbox` in data coordinates."""
852
856
self ._unstale_viewLim ()
853
857
return self ._viewLim
854
858
@@ -2265,7 +2269,7 @@ def add_artist(self, a):
2265
2269
2266
2270
def add_child_axes (self , ax ):
2267
2271
"""
2268
- Add an `.AxesBase ` to the Axes' children; return the child Axes.
2272
+ Add an `.Axes ` to the Axes' children; return the child Axes.
2269
2273
2270
2274
This is the lowlevel version. See `.axes.Axes.inset_axes`.
2271
2275
"""
You can’t perform that action at this time.
0 commit comments