IPython Notebook で 'Matplotlib is building the font cache using fc-list.' という警告
Linux Mint 18 で IPython Notebook を使っていて、次の警告が出た。
/home/tomoki/Documents/python35/lib/python3.5/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.') /home/tomoki/Documents/python35/lib/python3.5/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment. warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
python - matplotlib taking time when being imported - Stack Overflow
で解決。具体的には、~/.cache/matplotlib/fontList.cache というファイルを削除する。これでもう一度トライしたときはエラーが出るが、次からは出ない筈。