Version 3.0.0
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted()

Return whether the x-axis is inverted.