Version 3.1.2
matplotlib

matplotlib.axes.Axes.invert_xaxis

Axes.invert_xaxis()

Invert the x-axis.