File tree Expand file tree Collapse file tree 4 files changed +16
-12
lines changed
Expand file tree Collapse file tree 4 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,17 @@ The Axes class
2828
2929 Axes
3030
31+ Attributes
32+ ----------
33+
34+ .. autosummary ::
35+ :toctree: _as_gen
36+ :template: autosummary.rst
37+ :nosignatures:
38+
39+ Axes.viewLim
40+ Axes.dataLim
41+
3142Plotting
3243========
3344
Original file line number Diff line number Diff line change 341341 "Artist.stale_callback" : [
342342 " doc/users/explain/figure/interactive_guide.rst:323"
343343 ],
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- ],
348344 "AxesBase" : [
349345 " doc/api/axes_api.rst:448:<autosummary>:1" ,
350346 " 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):
8686 methods instead; e.g. from `.pyplot` or `.Figure`:
8787 `~.pyplot.subplots`, `~.pyplot.subplot_mosaic` or `.Figure.add_axes`.
8888
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-
9689 """
9790 ### Labelling, legend and texts
9891
Original file line number Diff line number Diff line change @@ -551,6 +551,9 @@ class _AxesBase(martist.Artist):
551551
552552 _subclass_uses_cla = False
553553
554+ dataLim : mtransforms .Bbox
555+ """The bounding `.Bbox` enclosing all data displayed in the Axes."""
556+
554557 @property
555558 def _axis_map (self ):
556559 """A mapping of axis names, e.g. 'x', to `Axis` instances."""
@@ -849,6 +852,7 @@ def _unstale_viewLim(self):
849852
850853 @property
851854 def viewLim (self ):
855+ """The view limits as `.Bbox` in data coordinates."""
852856 self ._unstale_viewLim ()
853857 return self ._viewLim
854858
@@ -2265,7 +2269,7 @@ def add_artist(self, a):
22652269
22662270 def add_child_axes (self , ax ):
22672271 """
2268- Add an `.AxesBase ` to the Axes' children; return the child Axes.
2272+ Add an `.Axes ` to the Axes' children; return the child Axes.
22692273
22702274 This is the lowlevel version. See `.axes.Axes.inset_axes`.
22712275 """
You can’t perform that action at this time.
0 commit comments