Problems with “Matplotlib is building the font cache using fc-list. This may take a moment.” on MacoS

前端 未结 2 1175
无人共我
无人共我 2021-01-17 14:03

I am running OS X 10.11.3, and I have installed Anaconda3-2.5.0-MacOSX-x86_64.pkg which includes Matplotlib 1.5.1. When I try to import Matplotlib in Jupyter with the follo

2条回答
  •  一生所求
    2021-01-17 14:20

    You can find this out with get_cachedir(). For example in python 2:

    import matplotlib as mpl
    print mpl.get_cachedir()
    

    and in python 3:

    import matplotlib as mpl
    print(mpl.get_cachedir())
    

    See here for more information

提交回复
热议问题