ImportError: cannot import name '_check_savefig_extra_args' from 'matplotlib.backend_bases' (/usr/local/lib/python3.7/dist-packages/matplotlib/backend_bases.py) site:stackoverflow.com
报错信息如上,发现是matplotlib的版本不对
解决方案
!pip install matplotlib==3.0.0
#加上后能够正常运行