matplotlib.axes.Axes.get_subplotspec#

Axes.get_subplotspec()[source]#

Return the SubplotSpec associated with the subplot, or None.