import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif']=['SimHei'] # 用来正常显示中文标签
plt.rcParams['axes.unicode_minus']=False # 用来正常显示负号
window plt显示中文
原创
©著作权归作者所有:来自51CTO博客作者奇点_python_nlp的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
matplotlib 之 plt.rcParams[](中文乱码以及负号显示异常)
matplotlib 之 plt.rcParams[](中文乱码以及负号显示异常) 一、总结 一
matplotlib python 坐标轴 微信 人工智能