difference in plt.gca() behaviour between inline and notebook backends
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- jupyter-notebook, matplotlib
- Bereich
- backend, data-visualization
Rechercherichtung
Reproduziere den Bericht mit einer Notebook-Zelle, die eine 3D-Achse erstellt, gefolgt von einer Zelle mit plt.gca(), in den Inline- und Notebook-Backends. Vergleiche das Verhalten des aktuellen Plots bei der Ausführung über einen IPython-Kernel. Als erledigt gilt es, wenn beide Backends den aktuellen Plot über Zellgrenzen hinweg konsistent behandeln.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I have one notebook cell that creates a 3D axes, which I want to plot into in the next cell.
With the inline backend
we see that the "current plot" has been forgotten, and plt.gca() creates a new 2D plot.
With the notebook backend
The behaviour is different
and plt.gca() remembers the 3D plot across the cell boundaries.
Expected behaviour
The same in both cases, ideally the remembering the current plot across the cell boundary. I'm not sure which behaviour is "correct" but the difference is a problem when I'm running code in an ipython kernel from a client.
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 31
- Forks
- 39
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus ipython/matplotlib-inline
-
Support animations Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 48/100
ipython/matplotlib-inline#61 ·
-
sdist is missing tests Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
ipython/matplotlib-inline#59 ·
-
Publish changelog Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
ipython/matplotlib-inline#57 · 1 Reaktion ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
ipython/matplotlib-inline#54 · 1 Kommentar ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 48/100
ipython/matplotlib-inline#44 · 1 Kommentar ·
Alle Issues in ipython/matplotlib-inline
Ähnliche Issues
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Offenclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
growthbook/growthbook#7100 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
punkpeye/mcp-remote#369 ·
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Azure/azure-sdk-for-net#63292 · 3 Kommentare · 1 Reaktion ·
-
bug p:3-mid pydanty:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
pydantic/pydantic-ai#8643 · 1 Kommentar ·