下载字体

https://github.com/flyskywhy/react-native-font-sim/tree/master/fonts

查看字体配置文件

import matplotlib    
print(matplotlib.matplotlib_fname()) 
#font.family:  sans-serif #打开 
#font.sans-serif: DejaVu Sans #添加SimHei,
#axes.unicode_minus: False 修改为False

并把字体放进 。。。/matplotlib/mpl-data/fonts/ttf

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐