macOs python matplotlib 中文乱码解决方案

macOs python matplotlib 中文乱码解决方案,第1张

出现了以下中文乱码

试了超多方案后,最终成功的一种

import matplotlib.pyplot as plt

plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']

成功解决了

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/langs/943181.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-18
下一篇2022-05-18

发表评论

登录后才能评论

评论列表(0条)

    保存