Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.reset_position

Axes.reset_position()

Reset the active position to the original position.

This resets the a possible position change due to aspect constraints. For an explanation of the positions see set_position.