matplotlib / matplotlib/ipympl
Version 0.5.0+ no longer displays output after widget interaction
まだ誰も着手していません。
- 主要言語
- Jupyter Notebook
- スター
- 1.7k
- フォーク
- 234
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
クラシックな Jupyter Notebook で、ipympl 0.5.0 と 0.5.0 より前のバージョンを比較し、ipympl グラフ、print()、ipywidgets.FloatText() とのインタラクションを再現します。インタラクション後にウィジェットの出力がどのように表示されるかを追跡します。出力されたテキストとインスタンス化されたウィジェットが再びセルの出力領域に表示されるか、サポートされている代替手段が文書化されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100