摘要: 让matplotlib绘图时显示中文. 安装中文字体 apt install fonts-wqy-microhei 清除matplotlib的缓存 rm -rf ~/.cache/matplotlib/* 在绘图前设置字体 import IPython import matplotlib.pyplo 阅读全文
posted @ 2024-05-28 20:20 酱_油 阅读(26) 评论(0) 推荐(0) 编辑