matplotlib / matplotlib/ipympl

Version incompatibility

Đang mở
#506 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

I seem to observe the incompatibiltiy similar to one previously reported in #161: widget model not found and JS console with an error. This is using the latest versions of everything as far as I can tell.

Uncaught (in promise) Error: Module jupyter-matplotlib, semver range ^0.11 is not registered as a widget module

Versions

 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:26:04) [GCC 10.4.0]
ipympl version: 0.9.2
Selected Jupyter core packages...
IPython          : 8.7.0
ipykernel        : 6.19.2
ipywidgets       : 7.7.2
jupyter_client   : 7.4.8
jupyter_core     : 5.1.0
jupyter_server   : 1.23.3
jupyterlab       : 3.5.1
nbclient         : 0.5.13
nbconvert        : 6.5.3
nbformat         : 5.7.0
notebook         : 6.5.2
qtconsole        : not installed
traitlets        : 5.7.1
Known nbextensions:
  config dir: /opt/conda/etc/jupyter/nbconfig
    notebook section
      jupyter-matplotlib/extension  enabled 
      - Validating: OK
      jupyter_bokeh/extension  enabled 
      - Validating: OK
      jupyter_resource_usage/main  enabled 
      - Validating: OK
      jupyterlab-plotly/extension  enabled 
      - Validating: OK
      jupytext/index  enabled 
      - Validating: OK
      nbdime/index  enabled 
      - Validating: OK
      nbresuse/main  enabled 
      - Validating: OK
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
    tree section
      ipyparallel/main  enabled 
      - Validating: OK
      jupyter_server_proxy/tree  enabled 
      - Validating: OK
JupyterLab v3.5.1
/opt/conda/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        dask-labextension v6.0.0 enabled OK (python, dask_labextension)
        jupyterlab-topbar-extension v0.6.1 enabled OK (python, jupyterlab-topbar)
        jupyterlab-jupytext v1.3.8+dev enabled OK (python, jupytext)
        jupyter-matplotlib v0.11.2 enabled OK
        jupyterlab-link-share v0.2.4 enabled OK (python, jupyterlab-link-share)
        nbdime-jupyterlab v2.1.1 enabled OK
        ipyparallel-labextension v8.4.1 enabled OK
        jupyterlab-plotly v5.11.0 enabled OK
        jupyterlab-system-monitor v0.8.0 enabled OK (python, jupyterlab-system-monitor)
        @jupyter-widgets/jupyterlab-manager v3.1.1 enabled OK (python, jupyterlab_widgets)
        @jupyter-server/resource-usage v0.6.4 enabled OK (python, jupyter-resource-usage)
        @bokeh/jupyter_bokeh v3.0.5 enabled OK (python, jupyter_bokeh)
        @krassowski/jupyterlab-lsp v3.10.2 enabled OK (python, jupyterlab-lsp)
        @retrolab/lab-extension v0.3.21 enabled OK
        @jupyterlab/server-proxy v3.2.2 enabled OK
        @jupyterlab/latex v3.1.0 enabled OK (python, jupyterlab-latex)
        @jupyterlab/mathjax3-extension v4.3.0 enabled OK (python, jupyterlab-mathjax3)
        @jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)
        @ryantam626/jupyterlab_code_formatter v1.5.3 enabled OK (python, jupyterlab-code-formatter)
        @pyviz/jupyterlab_pyviz v2.2.1 enabled OK (python, pyviz_comms)

Other labextensions (built into JupyterLab)
   app dir: /opt/conda/share/jupyter/lab

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện lỗi tải widget với các phiên bản JupyterLab, ipympl và ipywidgets được liệt kê, sau đó so sánh hành vi với issue #161. Bắt đầu bằng cách kiểm tra extension JupyterLab và việc đăng ký widget được báo cáo trong issue. Hoàn tất khi widget tải mà không có lỗi đăng ký semver.

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
Lĩnh vực
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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.