Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted(self)

Return whether the x-axis is inverted.

The axis is inverted if the left value is larger than the right value.