matplotlib flip "bar" chart on y axis code example Example: change order of barh matplotlib ax = df.plot.barh() # or df.plot(), or similar ax.invert_yaxis()