ipympl not working nicely with interact
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- jupyter, jupyter-notebook, python
調査の方向性
提供された ipympl と interact の再現コードを実行し、その figure-update の挙動を inline backend と比較します。interact の繰り返し呼び出しに関係する ipympl backend と widget update の経路を追跡します。完了の条件は、更新によって figure を消去せずに 1 つの plot が表示され続けることです。
索引モデルが issue の本文から書いたものです。
説明
Trying to follow some simple examples of Jupyter widgets with matplotlib, but I'm having issues when using the ipympl backend. The first update to a plot produces a second plot (overplotted), and the second update just erases the figure window altogether. This does not happen when using inline.
Here's some simple code to reproduce the issue:
%matplotlib ipympl
import matplotlib.pyplot as plt
from ipywidgets import interact
def f(n):
plt.plot([0,1,2],[0,1,n])
plt.show()
interact(f,n=(0,10));
If I use inline, this will update the line plot. With ipympl it fails.
I am using ipympl 0.1.0 from Anaconda, together will other packages:
ipywidgets 7.0.0 py36_intel_0 [intel] intel
ipympl 0.1.0 py36_1 conda-forge
matplotlib 2.0.2 np113py36_intel_1 [intel] intel
ipython 6.1.0 py36_intel_0 [intel] intel
jupyter 1.0.0 py36_intel_5 [intel] intel
jupyter_client 5.1.0 py36_intel_0 [intel] intel
jupyter_console 5.1.0 py36_intel_0 [intel] intel
jupyter_core 4.3.0 py36_intel_1 [intel] intel
- 主要言語
- Jupyter Notebook
- スター
- 1.7k
- フォーク
- 234
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
matplotlib/ipympl のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
matplotlib/ipympl#623 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
matplotlib/ipympl#622 · コメント 13 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
matplotlib/ipympl#612 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
matplotlib/ipympl#611 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
matplotlib/ipympl#609 · コメント 7 件 ·
matplotlib/ipympl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
pydata/pydata-sphinx-theme#2503 ·
-
bug triage_needed
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
P3 size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
🦾 ai-candidate
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100