matplotlib.axes.Axes.get_subplotspec

Axes.get_subplotspec()[source]

Return the SubplotSpec associated with the subplot, or None.

Examples using matplotlib.axes.Axes.get_subplotspec

Nested GridSpecs

Nested GridSpecs