Version 2.2.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted()

Return whether the x-axis is inverted.