Typically instantiated using :None:None:`.Figure.add_subfigure`
or :None:None:`.SubFigure.add_subfigure`
, or :None:None:`.SubFigure.subfigures`
. A subfigure has the same methods as a figure except for those particularly tied to the size or dpi of the figure, and is confined to a prescribed region of the figure. For example the following puts two subfigures side-by-side:
fig = plt.figure() sfigs = fig.subfigures(1, 2) axsL = sfigs[0].subplots(1, 2) axsR = sfigs[1].subplots(2, 1)
See /gallery/subplots_axes_and_figures/subfigures
Logical figure that can be placed inside a figure.
The following pages refer to to this document either explicitly or contain code examples using this.
matplotlib.figure
matplotlib.figure.FigureBase.add_subfigure
matplotlib.figure.FigureBase
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them