python3下用matplotlib画图中文标签显示框框

问题及分析:    Python3下用matplotlib画图标签里面的中文显示框框以下图所示,python 解决办法:     加入.ttc文件code chinfo = matplotlib.font_manager.FontProperties(fname='C:/Windows/Fonts/msyh.ttc') plt.xlabel('年份(年)', fontproperties=chi
相关文章
相关标签/搜索