matplotlib.axis.Axis.set_inverted

Axis.set_inverted(self, inverted) [source]

Set whether this Axis 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.axis.Axis.set_inverted

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.1/api/_as_gen/matplotlib.axis.Axis.set_inverted.html