In /etc/ you have the 'matplotlibrc' file. Open it with sudo in an editor of your choice. In line 29 you can find the entry 'backend'. Edit it to TKAgg. That's it.
In /etc/ you have the 'matplotlibrc' file.
Open it with sudo in an editor of your choice.
In line 29 you can find the entry 'backend'.
Edit it to TKAgg.
That's it.