W3cubDocs

/Matplotlib 3.1

matplotlib.axes.Axes.invert_xaxis

Axes.invert_xaxis(self)

Invert the x-axis.

See also

xaxis_inverted
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.invert_xaxis.html