matplotlib 设置字体

matplotlib 设置字体

首先确保有字体文件

windows字体文件夹:C:\Windows\Fonts

Linux字体文件夹:/usr/share/fonts

只要把字体文件复制粘贴到对应文件夹即可使用。

 

posted @ 2023-01-21 11:55  小鱼圆又圆  阅读(76)  评论(0)    收藏  举报