matplotlib / matplotlib/ipympl

Still getting "Model not found" error instead of static figure when saving and re-opening the notebook

Aperta
#473 16 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Jupyter Notebook
Stelle
1.7k
Fork
234
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi, unfortunately, I am still seeing this error after re-opening the notebook.
![Screenshot at 2022-06-29 16-31-42](https://user-images.githubusercontent.com/39047984/176463311-a53c8e73-6115-4f30-9586-7cbcece4e514.png)

The console log from Chrome:
![Screenshot at 2022-06-29 16-33-54](https://user-images.githubusercontent.com/39047984/176463431-587ac677-f8aa-4e2e-8ef6-f0b4d5b92c99.png)

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_

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia riproducendo il flusso di salvataggio e riapertura in JupyterLab con le versioni elencate nell’issue, quindi esamina l’output della console di Chrome mostrato nel report. L’issue è risolta quando, riaprendo il notebook, la figura viene renderizzata senza l’errore “Model not found”.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jupyter-notebook, matplotlib
Ambito
data-visualization
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.