matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted(self)

Return whether the xaxis 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.xaxis_inverted