
客户说他的Mac 上matplotlib.plt图表乱码
网上找了很多方法,1.下载字体,2.修改matplotlibrc文件,3.重新安装matplotlib都不行
最好使用了这个方法解决
import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']
欢迎分享,转载请注明来源:内存溢出

客户说他的Mac 上matplotlib.plt图表乱码
网上找了很多方法,1.下载字体,2.修改matplotlibrc文件,3.重新安装matplotlib都不行
最好使用了这个方法解决
import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)