-
Notifications
You must be signed in to change notification settings - Fork 28
FAQ
Eric Wieser edited this page May 11, 2023
·
1 revision
Likely you are not using the latest matplotlib.
You can find out the version with import matplotlib; matplotlib.__version__
inside Jupyter.
To update, try pip install --upgrade --user matplotlib
.
You may need to do the following:
- Have the latest (possibly even the preview)
jupyter-vscode
extension - Answer "yes" to the popup that appear in the corner of your screen about downloading additional files.
- Restart VSCode multiple times after updating these components.
This requires very recent versions of the notebook
and matplotlib
packages.
If you get an error about ipympl
not existing, then you did not follow one of the steps above.
Likely, you have found yourself on a system that refuses to be updated (like the DPO computers on windows), and there is nothing you can do.
Switching back to %matplotlib nbagg
might help.