Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Version 0.5.0+ no longer displays output after widget interaction

Offen
#233 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

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

Rechercherichtung

Vergleiche ipympl 0.5.0 mit einer Version vor 0.5.0 in einem klassischen Jupyter Notebook, indem du die Interaktion mit einem ipympl-Diagramm, print() und ipywidgets.FloatText() reproduzierst. Verfolge, wie die Widget-Ausgabe nach der Interaktion angezeigt wird; abgeschlossen ist die Aufgabe, wenn ausgegebener Text und instanziierte Widgets wieder im Zellausgabebereich erscheinen oder der unterstützte Ersatz dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I have not labeled this as a "bug report" as I am not sure whether this is a new feature or regression.

I am developing a package for the processing of NMR spectra that makes extensive use of the ipympl backend:
https://github.com/NMRPy/nmrpy

As part of this there are a number of widgets (interactive matplotlib graphs) for phasing and peak picking of the NMR spectra. Some of these widgets print output to the cell output area (below the ipympl widget) after user interaction, using simple print() function calls in the code. In some cases further user input is required for which I have made use of an ipywidgets.FloatText() which is then also displayed in the output area.

As of version 0.5.0 this cell output area is no longer displayed. The widget interaction with the ipympl graphs still works but the text output from print() calls and the ipywidgets output are not there.

  • Is this intentional or a regression?
  • If intentional, is there a way to get the output area back, or an alternative where to direct text output after interaction with a graph (or instantiate an ipywidgets widget) so that it is displayed to the user?

This functionality is crucial to my application and currently I am thus stuck with using ipympl<0.5.0. BTW this is using notebook, not jupyterlab.

Vorherrschende Sprache
Jupyter Notebook
Sterne
1.7k
Forks
234
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus matplotlib/ipympl

Alle Issues in matplotlib/ipympl

Ähnliche Issues

Weitere Issues zu Web Dev

Neue Issues direkt in Ihr Postfach

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