matplotlib

This Page

matplotlib.axes.Axes.yaxis_inverted

Axes.yaxis_inverted()

Return whether the y-axis is inverted.