碰到这个问题的话,我们需要升级matplotlib的版本。
首先卸载matplotlib:
sudo pip uninstal matplotlib
之后,安装新版本的matplotlib:(在这里还是使用清华大学镜像)
sudo python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==2.2.0
清华大学的镜像库真的好用,不用翻墙,速度超快! 随时卸载,随时安装…~
碰到这个问题的话,我们需要升级matplotlib的版本。
首先卸载matplotlib:
sudo pip uninstal matplotlib
之后,安装新版本的matplotlib:(在这里还是使用清华大学镜像)
sudo python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==2.2.0
清华大学的镜像库真的好用,不用翻墙,速度超快! 随时卸载,随时安装…~