But when I copied all the files on my PC and want to run them on Jupyter Notebook, I get the following Traceback Message
--------------------------------------------------------------------------- RuntimeError Traceback (most recent call last)
…
RuntimeError: ‘widget’ is not a recognised backend name During handling of the above exception,
…
RuntimeError: 'widget is not a recognised GUI loop or backend name
Does anyone have an idea what might be going wrong?
It worked on Coursera.
Now I am running on my own computer.
Found a fix (thanks to meta.ai). Replaced the magic command with %matplotlib ipympl
Then had to install ipympl (pip install ipympl) and restarted the kernel. The error went away.