关于Ubuntu,python2.7下matplotlib绘制的图中中文无法正常显示的问题解决的总结
问题描述:
import matplotlib.pyplot as plt
fig = plt.figure(figsize=(8,5), dpi=80)
x = range(1,13)
y = [month_number[i][1] for i in range(len(month_number))]
plt.bar(x, y, width=0.5 )
...
原创
2019-07-11 15:05:55 ·
283 阅读 ·
0 评论