Version 2.2.3
matplotlib

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted()

Return whether the x-axis is inverted.