【发布时间】:2021-09-28 18:26:19
【问题描述】:
我一直在尝试更改 Pandas 中图例的顺序,以使其与图显示的顺序相同:
Screenshot of the code and the plot in Anaconda
如您所见,通过增加 %K 的数量,图正在堆叠,我希望反转图例,以便图更易于阅读。
我该怎么做?
【问题讨论】:
-
您能否在您的主题中提供代码(不仅仅是屏幕)?
标签: python pandas legend legend-properties