Unable to access ipympl from JupyterLab due to Error displaying widget: model not found
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Tái hiện ví dụ được báo cáo bắt đầu bằng %matplotlib widget trong JupyterLab 3.6.3, sử dụng các phiên bản ipympl, ipywidgets và các gói Jupyter được liệt kê. Trước tiên, hãy kiểm tra tích hợp widget của JupyterLab và các tiện ích mở rộng đã bật jupyter-matplotlib và @jupyter-widgets/jupyterlab-manager. Được xem là hoàn tất khi đồ thị sin được hiển thị dưới dạng widget tương tác mà không có lỗi “model not found”.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the issue
I am running an example code to access ipympl from Jupyter Lab on GCP/Linux.
%matplotlib widget
import matplotlib.pyplot as plt
import numpy as np
import sys
"ipympl" in sys.modules
True
# Testing matplotlib interactions with a simple plot
fig = plt.figure()
plt.plot(np.sin(np.linspace(0, 20, 100)));
Error displaying widget: model not found
Versions
Paste the command output here.
3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0]
ipympl version: 0.9.3
Selected Jupyter core packages...
IPython : 8.12.0
ipykernel : 6.13.0
ipywidgets : 8.0.6
jupyter_client : 8.2.0
jupyter_core : 5.3.0
jupyter_server : 2.5.0
jupyterlab : 3.6.3
nbclient : 0.7.4
nbconvert : 7.3.1
nbformat : 5.8.0
notebook : 6.5.4
qtconsole : not installed
traitlets : 5.9.0
Known nbextensions:
config dir: /usr/local/etc/jupyter/nbconfig
notebook section
jupyter-matplotlib/extension enabled
- Validating: OK
jupyter_resource_usage/main enabled
- Validating: OK
nbdime/index enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
tree section
jupyter_server_proxy/tree enabled
- Validating: OK
JupyterLab v3.6.3
/usr/local/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
dask-labextension v6.1.0 enabled OK (python, dask_labextension)
nbdime-jupyterlab v2.2.0 enabled OK
jupyter-matplotlib v0.11.3 enabled OK
jupyterlab-nvdashboard v0.8.0 enabled OK (python, jupyterlab_nvdashboard)
@jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)
@jupyter-widgets/jupyterlab-manager v5.0.7 enabled OK (python, jupyterlab_widgets)
@jupyterhub/jupyter-server-proxy v4.0.0 enabled OK
@jupyter-server/resource-usage v0.7.2 enabled OK (python, jupyter-resource-usage)
@jupyter-lsp/jupyterlab-lsp v4.1.0 enabled OK (python, jupyterlab-lsp)
@elyra/code-snippet-extension v3.15.0 enabled OK
@elyra/script-debugger-extension v3.15.0 enabled OK
@elyra/python-editor-extension v3.15.0 enabled OK
@elyra/metadata-extension v3.15.0 enabled OK
@elyra/pipeline-editor-extension v3.15.0 enabled OK
@elyra/code-viewer-extension v3.15.0 enabled OK
@elyra/theme-extension v3.15.0 enabled OK
@elyra/r-editor-extension v3.15.0 enabled OK
@elyra/scala-editor-extension v3.15.0 enabled OK
Other labextensions (built into JupyterLab)
app dir: /usr/local/share/jupyter/lab
Disabled extensions:
@jupyterlab/launcher-extension (all plugins)
- 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
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.
Issue khác của matplotlib/ipympl
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
matplotlib/ipympl#623 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
matplotlib/ipympl#622 · 13 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
matplotlib/ipympl#612 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
matplotlib/ipympl#611 · 4 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
matplotlib/ipympl#609 · 6 bình luận ·
Tất cả issue của matplotlib/ipympl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
clerk/javascript#9852 ·
-
bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
amponce/archive-movie-browser#165 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Block] Latest Posts [Type] Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gitbutlerapp/gitbutler#15998 · 1 bình luận ·