matplotlib / matplotlib/ipympl

matplotlib 3.7 brakes plotting

Offen
#524 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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

## Describe the issue

i do first plot in cell, than try to plot a second plot in a new cell, each starting with "%matplotlib widget".

matplotlib 3.6.x : both cells have separate independent plots
matplotlib 3.7.x: the plot from second cell gets added to the plot of first cell, only one plot as whole is generated. If I try to add this plot to the output tab - the plots completely disappear without any error message.

## Versions

jupyterlab: 3.5.x and 3.6.x - didnt make a difference
ipympl: 0.8.x and 0.9.2 - didnt make a difference

I am not sure if this is the right place for this, since this is linked to matplotlib though.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die beiden Notebook-Zellen mit „%matplotlib widget“ unter den gemeldeten Kombinationen aus JupyterLab-, ipympl- und matplotlib-Version zu reproduzieren. Vergleiche das Verhalten separater Plots zwischen matplotlib 3.6.x und 3.7.x, einschließlich des Hinzufügens des Ergebnisses zum Ausgabe-Tab; abgeschlossen ist die Aufgabe, wenn beide Zellen unabhängig bleiben und die Plots nicht verschwinden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.