matplotlib / matplotlib/ipympl
Still getting "Model not found" error instead of static figure when saving and re-opening the notebook
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
Hi, unfortunately, I am still seeing this error after re-opening the notebook.

The console log from Chrome:

Versions:
```
jupyter_client 7.3.1 pyhd8ed1ab_0 conda-forge
jupyter_core 4.10.0 py39hf3d152e_0 conda-forge
jupyter_server 1.17.0 pyhd8ed1ab_0 conda-forge
jupyterlab 3.4.2 pyhd8ed1ab_0 conda-forge
jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge
jupyterlab_server 2.14.0 pyhd8ed1ab_0 conda-forge
jupyterlab_widgets 1.1.0 pyhd8ed1ab_0 conda-forge
matplotlib 3.5.2 py39hf3d152e_0 conda-forge
matplotlib-base 3.5.2 py39h700656a_0 conda-forge
matplotlib-inline 0.1.3 pyhd8ed1ab_0 conda-forge
ipydatawidgets 4.3.1.post1 pyhc268e32_0 conda-forge
ipykernel 6.13.0 py39hef51801_0 conda-forge
ipympl 0.9.1 pyhd8ed1ab_0 conda-forge
ipython 8.4.0 py39hf3d152e_0 conda-forge
ipython_genutils 0.2.0 py_1 conda-forge
ipywidgets 7.7.0 pyhd8ed1ab_0 conda-forge
```
Thanks for any help!
_Originally posted by @nvaytet in https://github.com/matplotlib/ipympl/issues/343#issuecomment-1170066433_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the save-and-reopen workflow in JupyterLab with the versions listed in the issue, then inspect the Chrome console output shown in the report. The issue is resolved when reopening the notebook renders the figure without the “Model not found” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, matplotlib
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100