【发布时间】:2021-02-25 08:41:00
【问题描述】:
【问题讨论】:
-
下面是代码 g = plt.figure(figsize=(15,5)) g = sns.countplot(x='Country', data=retail_df2) g.set_xticklabels(labels = list( Retail_df2.Country.unique()),rotation=90) plt.title('按地区销售') plt.show()
-
在最后一行末尾添加分号
;。 -
哇,这么简单的解决方案,谢谢。
标签: pandas matplotlib