matplotlib

matplotlib.axes.Axes.reset_position

Axes.reset_position()

Make the original position the active position