DataFrame.plot 及其各种绘制子方法返回一个matplotlib axes对象,因此您可以直接反转其y轴: ax = df.plot.barh() # or df.plot(), or similar ax.invert_yaxis().
確定! 回上一頁