matplotlib.pyplot.figure.show method displays figure two times

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
jupyter, jupyter-notebook, python

調査の方向性

まず、matplotlib.pyplot.figure.show を使用し、Python 3.10.4、ipympl 0.8.7、および記載されている Jupyter パッケージで JupyterLab 3.4.4 における重複表示を再現します。同じ図が 1 回だけ表示されれば完了です。この issue ではソースファイルもテストも指定されていないため、関連する実装とリグレッションカバレッジを見つけることも作業の一部です。

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

説明

Describe the issue

matplotlib.pyplot.figure.show method displays figure two times.
image

Versions

 3.10.4 (main, Mar 31 2022, 08:41:55) [GCC 7.5.0]
ipympl version: 0.8.7
Selected Jupyter core packages...
IPython          : 8.4.0
ipykernel        : 6.9.1
ipywidgets       : 7.6.5
jupyter_client   : 7.2.2
jupyter_core     : 4.10.0
jupyter_server   : 1.18.1
jupyterlab       : 3.4.4
nbclient         : 0.5.13
nbconvert        : 6.4.4
nbformat         : 5.3.0
notebook         : 6.4.12
qtconsole        : not installed
traitlets        : 5.1.1
Known nbextensions:
  config dir: /home/honek/.jupyter/nbconfig
    notebook section
      [--sys-prefix  enabled 
      - Validating: problems found:
        - require?  X [--sys-prefix
      jupyter-threejs/extension  enabled 
      - Validating: problems found:
        - require?  X jupyter-threejs/extension
  config dir: /home/honek/anaconda3/envs/ipympl_test/etc/jupyter/nbconfig
    notebook section
      jupyter-matplotlib/extension  enabled 
      - Validating: OK
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
JupyterLab v3.4.4
/home/honek/anaconda3/envs/ipympl_test/share/jupyter/labextensions
        jupyter-matplotlib v0.10.5 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.0.0 enabled OK (python, jupyterlab_widgets)

主要言語
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 を短くまとめたダイジェスト。