File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -187,6 +187,8 @@ Getting and modifying state
187
187
Figure.draw_without_rendering
188
188
Figure.draw_artist
189
189
190
+ .. _figure-api-subfigure :
191
+
190
192
SubFigure
191
193
=========
192
194
Original file line number Diff line number Diff line change @@ -2162,16 +2162,15 @@ class SubFigure(FigureBase):
2162
2162
"""
2163
2163
Logical figure that can be placed inside a figure.
2164
2164
2165
+ See :ref:`figure-api-subfigure` for an index of methods on this class.
2165
2166
Typically instantiated using `.Figure.add_subfigure` or
2166
2167
`.SubFigure.add_subfigure`, or `.SubFigure.subfigures`. A subfigure has
2167
2168
the same methods as a figure except for those particularly tied to the size
2168
2169
or dpi of the figure, and is confined to a prescribed region of the figure.
2169
2170
For example the following puts two subfigures side-by-side::
2170
2171
2171
- fig = plt.figure()
2172
- sfigs = fig.subfigures(1, 2)
2173
- axsL = sfigs[0].subplots(1, 2)
2174
- axsR = sfigs[1].subplots(2, 1)
2172
+ fig = plt.figure() sfigs = fig.subfigures(1, 2) axsL =
2173
+ sfigs[0].subplots(1, 2) axsR = sfigs[1].subplots(2, 1)
2175
2174
2176
2175
See :doc:`/gallery/subplots_axes_and_figures/subfigures`
2177
2176
@@ -2373,6 +2372,8 @@ class Figure(FigureBase):
2373
2372
"""
2374
2373
The top level container for all the plot elements.
2375
2374
2375
+ See `matplotlib.figure` for an index of class methods.
2376
+
2376
2377
Attributes
2377
2378
----------
2378
2379
patch
You can’t perform that action at this time.
0 commit comments