I know that the answer was very promising answered in here. But I seem to fail to follow the instructions, at least I still get an error in my notebook.
In my terminal, I first use
cd ~/.matplotlib
Then it says I need to create a new file named matplotlibrc, so I run
touch matplotlibrc
.
To add the code backend: TkAgg
I run
echo "backend: TkAgg"
After doing that, I still get the very same error message.
First Question: Is my code correct? If yes, my second question is if anybody knows a different solution to the problem.