File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ Figure and Axes
122122
123123 Artist.set_figure
124124 Artist.get_figure
125+ Artist.figure
125126
126127Children
127128--------
Original file line number Diff line number Diff line change @@ -628,6 +628,8 @@ Other
628628 Axes.get_transformed_clip_path_and_affine
629629 Axes.has_data
630630 Axes.set
631+ Axes.get_figure
632+ Axes.figure
631633 Axes.remove
632634
633635.. autoclass :: matplotlib.axes.Axes.ArtistList
Original file line number Diff line number Diff line change 44 " <unknown>:1"
55 ],
66 "matplotlib.axes._base._AxesBase" : [
7- " doc/api/artist_api.rst:202 "
7+ " doc/api/artist_api.rst:203 "
88 ],
99 "matplotlib.backend_bases._Backend" : [
1010 " lib/matplotlib/backend_bases.py:docstring of matplotlib.backend_bases.ShowBase:1"
1818 " lib/matplotlib/backends/backend_tkcairo.py:docstring of matplotlib.backends.backend_tkcairo.FigureCanvasTkCairo:1"
1919 ],
2020 "matplotlib.image._ImageBase" : [
21- " doc/api/artist_api.rst:202 " ,
21+ " doc/api/artist_api.rst:203 " ,
2222 " lib/matplotlib/image.py:docstring of matplotlib.image.AxesImage:1" ,
2323 " lib/matplotlib/image.py:docstring of matplotlib.image.BboxImage:1" ,
2424 " lib/matplotlib/image.py:docstring of matplotlib.image.FigureImage:1"
6767 " lib/matplotlib/projections/geo.py:docstring of matplotlib.projections.geo.MollweideAxes.MollweideTransform:1"
6868 ],
6969 "matplotlib.text._AnnotationBase" : [
70- " doc/api/artist_api.rst:202 " ,
70+ " doc/api/artist_api.rst:203 " ,
7171 " lib/matplotlib/offsetbox.py:docstring of matplotlib.offsetbox.AnnotationBbox:1" ,
7272 " lib/matplotlib/text.py:docstring of matplotlib.text.Annotation:1"
7373 ],
Original file line number Diff line number Diff line change @@ -165,10 +165,24 @@ def _update_set_signature_and_docstring(cls):
165165 if prop not in Artist ._PROPERTIES_EXCLUDED_FROM_SET ]])
166166 cls .set ._autogenerated_signature = True
167167
168- cls .set .__doc__ = (
169- "Set multiple properties at once.\n \n "
170- "Supported properties are\n \n "
171- + kwdoc (cls ))
168+ cls .set .__doc__ = ("""\
169+ Set multiple properties at once.
170+
171+ ::
172+ a.set(a=A, b=B, c=C)
173+
174+ is equivalent to ::
175+
176+ a.set_a(A)
177+ a.set_b(B)
178+ a.set_c(C)
179+
180+ The order of operations is not guaranteed, however most properties do not
181+ depend on each other.
182+
183+ Supported properties are
184+
185+ """ + kwdoc (cls ))
172186
173187 def __init__ (self ):
174188 self ._stale = True
You can’t perform that action at this time.
0 commit comments