Version 3.1.2
matplotlib

matplotlib.axes.Axes.invert_yaxis

Axes.invert_yaxis()

Invert the y-axis.