一行代码解决|MacOS下| matplotlib 中文乱码

一行代码解决

亲测有效!

import matplotlib.pyplot as plt
plt.rcParams['font.sans-serif'] = ['Arial Unicode MS']

在这里插入图片描述

Cite From: http://t.csdn.cn/OYuTd

猜你喜欢

转载自blog.csdn.net/weixin_44333889/article/details/128617536