matplotlib设置字体,显示负号

plt.rcParams['font.sans-serif']=['SimHei']
plt.rcParams['axes.unicode_minus']=False
posted @ 2023-11-27 16:11  来个煎饼  阅读(12)  评论(0编辑  收藏  举报