【发布时间】:2020-08-09 00:38:39
【问题描述】:
我有以下代码可以生成显示的图表。如何将橙色变为红色?我试过说 c="red" 但这会将橙色和蓝色条都变成红色
df.reset_index().plot(x="index", y=["Ic_tape_inner", "Ic_tape_outer"], kind="bar", figsize=(10,6))
【问题讨论】:
标签: dataframe matplotlib colors bar-chart
我有以下代码可以生成显示的图表。如何将橙色变为红色?我试过说 c="red" 但这会将橙色和蓝色条都变成红色
df.reset_index().plot(x="index", y=["Ic_tape_inner", "Ic_tape_outer"], kind="bar", figsize=(10,6))
【问题讨论】:
标签: dataframe matplotlib colors bar-chart