使用anaconda卸载matplotlib再重新安装

pip uninstall matplotlib
pip install matplotlib

更新包

pip install --upgrade matplotlib

更多推荐