diff --git a/doc/api/artist_api.rst b/doc/api/artist_api.rst index a6f39d39f6b0..aa6e82c5ee69 100644 --- a/doc/api/artist_api.rst +++ b/doc/api/artist_api.rst @@ -43,15 +43,6 @@ Interactive Artist.set_picker Artist.contains -Margins and Autoscaling ------------------------ - -.. autosummary:: - :toctree: _as_gen - :nosignatures: - - Artist.sticky_edges - Clipping -------- @@ -172,13 +163,16 @@ Metadata Artist.set_url Artist.aname -Stale ------ +Miscellaneous +------------- .. autosummary:: :toctree: _as_gen :nosignatures: + Artist.sticky_edges + Artist.set_in_layout + Artist.get_in_layout Artist.stale Functions diff --git a/lib/matplotlib/artist.py b/lib/matplotlib/artist.py index d68334a0c31f..78a2035aa44e 100644 --- a/lib/matplotlib/artist.py +++ b/lib/matplotlib/artist.py @@ -962,7 +962,7 @@ def set_zorder(self, level): @property def sticky_edges(self): """ - `x` and `y` sticky edge lists. + ``x`` and ``y`` sticky edge lists for autoscaling. When performing autoscaling, if a data limit coincides with a value in the corresponding sticky_edges list, then no margin will be added--the @@ -970,8 +970,8 @@ def sticky_edges(self): where one usually expects no margin on the bottom edge (0) of the histogram. - This attribute cannot be assigned to; however, the `x` and `y` lists - can be modified in place as needed. + This attribute cannot be assigned to; however, the ``x`` and ``y`` + lists can be modified in place as needed. Examples --------