figures are not closed in a notebook...

オープン
#491 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter-notebook

調査の方向性

%matplotlib widget を使用して notebook 内で動作を再現し、%matplotlib inline と比較しながら、新規実行したプロットセルと再実行したプロットセルを確認します。各プロットセルが期待される Figure を取得し、再実行しても以前の Figure が開いたままにならなければ完了です。この再現から widget のエントリポイントをたどり、関連するコードと回帰テストのカバレッジを特定してください。

索引モデルが issue の本文から書いたものです。

説明

I really like the %matplotlib widget extension for the interactivity it provides. However, the transition from %matplotlib inline to widget is not as smooth as I hoped for:

  • every cell that does some plotting should open a new figure (else a figure from a previously executed cell will be used)
  • when you reexecute a cell (often done in notebooks, meant for prototyping and education...) a new figure is made AND THE OLD ONE IS KEPT... shouldn't the old figure be removed/closed to stay in line with the inline matplotlib option?

Regards
Rein van den Boomgaard

主要言語
Jupyter Notebook
スター
1.7k
フォーク
234
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

matplotlib/ipympl のほかの issue

matplotlib/ipympl の issue をすべて見る

似ている issue

Data Visualization の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。