Version 2.2.4
matplotlib

matplotlib.axes.Axes.yaxis_inverted

Axes.yaxis_inverted()

Return whether the y-axis is inverted.