matplotlib.axes.Axes.set_subplotspec

Axes.set_subplotspec(subplotspec)[source]

Set the SubplotSpec. associated with the subplot.