Unable to find font cache of matplotlib on a mac

后端 未结 2 1742
遇见更好的自我
遇见更好的自我 2021-02-08 22:32

I\'ve researched this a lot and can\'t get it to work.

How can I change the font for matplotlib?

I think my issue is the font cache, based on my research.

<
2条回答
  •  渐次进展
    2021-02-08 23:13

    run the following code to get the font cache dir:

    import matplotlib
    matplotlib.get_cachedir()
    

提交回复
热议问题