matplotlib / matplotlib/ipympl
matplotlib.pyplot.figure.show method displays figure two times
Đang mở
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 1.7k
- Fork
- 234
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Describe the issue
matplotlib.pyplot.figure.show method displays figure two times.

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)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Trước tiên, hãy tái hiện việc hiển thị trùng lặp trong JupyterLab 3.4.4 với Python 3.10.4, ipympl 0.8.7 và các gói Jupyter được liệt kê, bằng cách sử dụng matplotlib.pyplot.figure.show. Công việc được xem là hoàn tất khi cùng một figure chỉ xuất hiện một lần; issue không nêu tệp mã nguồn hay test nào, vì vậy việc xác định implementation liên quan và phạm vi regression coverage cũng là một phần của công việc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- jupyter, jupyter-notebook, python
- Lĩnh vực
- data-visualization, frontend
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100