matplotlib.axes.Axes.get_subplotspec Axes.get_subplotspec() Return the SubplotSpec associated with the subplot, or None. Examples using matplotlib.axes.Axes.get_subplotspec Align labels and titles