Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c232a1c

Browse files
committed
DOC: link toplevel index [ci doc]
1 parent 7b579a6 commit c232a1c

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

lib/matplotlib/figure.py

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2162,16 +2162,15 @@ class SubFigure(FigureBase):
21622162
"""
21632163
Logical figure that can be placed inside a figure.
21642164
2165-
Typically instantiated using `.Figure.add_subfigure` or
2166-
`.SubFigure.add_subfigure`, or `.SubFigure.subfigures`. A subfigure has
2167-
the same methods as a figure except for those particularly tied to the size
2168-
or dpi of the figure, and is confined to a prescribed region of the figure.
2169-
For example the following puts two subfigures side-by-side::
2165+
See `matplotlib.figure` for an index of methods on this class. Typically
2166+
instantiated using `.Figure.add_subfigure` or `.SubFigure.add_subfigure`,
2167+
or `.SubFigure.subfigures`. A subfigure has the same methods as a figure
2168+
except for those particularly tied to the size or dpi of the figure, and is
2169+
confined to a prescribed region of the figure. For example the following
2170+
puts two subfigures side-by-side::
21702171
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)
21752174
21762175
See :doc:`/gallery/subplots_axes_and_figures/subfigures`
21772176
@@ -2373,6 +2372,8 @@ class Figure(FigureBase):
23732372
"""
23742373
The top level container for all the plot elements.
23752374
2375+
See `matplotlib.figure` for an index of class methods.
2376+
23762377
Attributes
23772378
----------
23782379
patch

0 commit comments

Comments
 (0)