Axes.get_subplotspec()
matplotlib.axes.Axes.get_subplotspec
Return the SubplotSpec associated with the subplot, or None.
SubplotSpec
Nested GridSpecs