There is a new API that makes this even simpler.
plt.gca().invert_xaxis()
and/or
plt.gca().invert_yaxis()
Related Contents:
- How to plot in multiple subplots
- How to have clusters of stacked bars with python (Pandas)
- Stacked Bar Chart with Centered Labels
- Improve subplot size/spacing with many subplots in matplotlib
- plot different color for different categorical levels using matplotlib
- How to plot multiple Seaborn Jointplot in Subplot
- Color by Column Values in Matplotlib
- Python matplotlib multiple bars
- How to add value labels on a bar chart
- How to add hovering annotations to a plot
- How to draw vertical lines on a given plot
- Plot a horizontal line on a given plot
- Seaborn Barplot – Displaying Values
- Plotting grouped data in same plot using Pandas
- How to plot and annotate grouped bars in seaborn / matplotlib
- How to plot multiple dataframes in subplots
- How to have clusters of stacked bars
- Horizontal stacked bar plot and add labels to each section
- How to display custom values on a bar plot
- How can I make a barplot and a lineplot in the same seaborn plot with different Y axes nicely?
- Improve subplot size/spacing with many subplots
- How to create a grouped bar plot
- Seaborn Bar Plot Ordering
- Plot multiple columns of pandas DataFrame using Seaborn
- Seaborn: countplot() with frequencies
- How to edit properties of whiskers, fliers, caps, etc. in Seaborn boxplot
- How can I group a stacked bar chart?
- How to save a Seaborn plot into a file
- How to plot multiple bars grouped
- Stacked bar chart in Seaborn
- Add image annotations to bar plots
- How do you plot a vertical line on a time series plot in Pandas?
- Background with range on seaborn based on two columns
- plot different color for different categorical levels
- Color a scatter plot by Column Values
- Plotting with seaborn using the matplotlib object-oriented interface
- FutureWarning: elementwise comparison failed; returning scalar, but in the future will perform elementwise comparison
- How to plot and annotate a grouped bar chart
- how to get ticks every hour?
- How to change the datetime tick label frequency for matplotlib plots
- Matplotlib DateFormatter for axis label not working
- How to dynamically update a plot in a loop in IPython notebook (within one cell)
- How to change the plot order of the categorical x-axis
- Change main plot legend label text
- Saving Matplotlib graphs to image as full screen
- How to plot multiple dataframes to the same plot axes
- pandas – scatter plot with different color legend for each point
- Emulating deprecated seaborn distplots
- Large Dataset Polynomial Fitting Using Numpy
- matplotlib savefig() size control