matplotlib.axes.Axes.yaxis_inverted

Axes.yaxis_inverted()

Return whether the yaxis is oriented in the "inverse" direction.

The "normal" direction is increasing to the right for the x-axis and to the top for the y-axis; the "inverse" direction is increasing to the left for the x-axis and to the bottom for the y-axis.

Examples using matplotlib.axes.Axes.yaxis_inverted