很可能matplotlib 1.5.1已安装在您的计算机中,您可能会遇到此类警告:
/usr/lib/python2.7/dist-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.')
答案 0 :(得分:-3)
要摆脱此警告,请通过以下方式升级matplotlib:
*sudo pip install --upgrade matplotlib*