0
这里是我的样本数据cities_counter[:10]
Seaborn,Matplotlib,情节中国误差
[('上海', 285), ('杭州', 225), ('北京', 163), ('广州', 136), ('南京', 130), ('武汉', 124), ('深圳', 88), ('温州', 67), ('苏州', 66), ('宁波', 45)]
,我想和Seaborn和Matplotlib柱状图,所以这里是我的代码
>>> sns.set(style="whitegrid")
>>> sns.set_color_codes("pastel")
>>> sns.barplot(x=[k for k, _ in cities_counter[:10]], y=[v for _, v in cities_counter[:10]])
和结果是
ENV:
- 的Windows 10
- 的Python 3.5
我如何绘制中国人物?
是[这个问题](https://stackoverflow.com/questions/40580584)有帮助吗? –