matplotlib / matplotlib/ipympl
Still getting "Model not found" error instead of static figure when saving and re-opening the notebook
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 1.7k
- Forks
- 234
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Speichern-und-Erneut-Öffnen-Workflow in JupyterLab mit den im Issue aufgeführten Versionen zu reproduzieren, und untersuche anschließend die im Bericht angezeigte Ausgabe der Chrome-Konsole. Das Issue ist gelöst, wenn beim erneuten Öffnen des Notebooks die Abbildung ohne den Fehler „Model not found“ gerendert wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook, matplotlib
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100