matplotlib widgets fail to load
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- jupyter-notebook, python
研究方向
使用回報的 Python、ipympl、JupyterLab 和 ipywidgets 版本重現空白圖表,然後從 manager-base.js:291 中的 widget 載入失敗以及已啟用的 jupyter-matplotlib 擴充功能開始調查。完成的標準是 matplotlib widget 能在 JupyterLab 中載入,且圖表內容和工具列能夠顯示,不再出現回報的通訊通道錯誤。
由索引模型根據 Issue 內容生成。
描述
Describe the issue
Get a line like [<matplotlib.lines.Line2D at 0x7f610447e140>] when trying to plot, and an 'empty' plot which seems to have a toolbar of button, but no content.
developer tools console has:
Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control comm was closed too early
_loadFromKernel @ manager-base.js:291
Versions
3.10.8 (main, Nov 30 2022, 11:24:29) [GCC 10.2.1 20210110]
ipympl version: 0.9.2
Selected Jupyter core packages...
IPython : 8.7.0
ipykernel : 6.18.3
ipywidgets : 8.0.2
jupyter_client : 7.4.7
jupyter_core : 5.1.0
jupyter_server : 1.23.3
jupyterlab : 3.5.1
nbclient : 0.7.2
nbconvert : 7.2.5
nbformat : 5.7.0
notebook : 6.5.2
qtconsole : not installed
traitlets : 5.6.0
Known nbextensions:
config dir: /home/zlobko/.pyenv/versions/3.10.8/etc/jupyter/nbconfig
notebook section
jupyter-matplotlib/extension enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
JupyterLab v3.5.1
/home/zlobko/.pyenv/versions/3.10.8/share/jupyter/labextensions
jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
jupyter-matplotlib v0.11.2 enabled OK
@jupyter-widgets/jupyterlab-manager v5.0.3 enabled OK (python, jupyterlab_widgets)
Other labextensions (built into JupyterLab)
app dir: /home/zlobko/.pyenv/versions/3.10.8/share/jupyter/lab
The following source extensions are overshadowed by older prebuilt extensions:
@jupyter-widgets/jupyterlab-manager
FWIW: This is on debian/WSL2 (which was converted from WSL1).
- 主要語言
- Jupyter Notebook
- 星號
- 1.7k
- 分支
- 234
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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 小時 新手友好度 65/100
-
難度 2/5 1-3 小時 新手友好度 75/100
SignalK/freeboard-sk#824 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
google/libultrahdr#485 ·
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 75/100