W3cubDocs

/Matplotlib 3.1

matplotlib.axes.Axes.xaxis_inverted

Axes.xaxis_inverted(self)

Return whether the x-axis is inverted.

The axis is inverted if the left value is larger than the right value.

See also

invert_xaxis
get_xlim, set_xlim
get_xbound, set_xbound

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.xaxis_inverted.html