Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted()

Return whether the x-axis is inverted.

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