Last active
November 15, 2017 11:07
-
-
Save Hiroshiba/7096c01cea7643838c22911322e1006c to your computer and use it in GitHub Desktop.
fix matplotlib backend TkAgg error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p=`python -c "import matplotlib; print(matplotlib.matplotlib_fname())"` | |
sed -i -e "s/backend\s*:\s*TkAgg/backend : Agg/g" $p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment