matplotlib widgets fail to load
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- jupyter-notebook, python
- Domain
- data-visualization
Research direction
Reproduce the empty plot with the reported Python, ipympl, JupyterLab, and ipywidgets versions, then start at the widget-loading failure in manager-base.js:291 and the enabled jupyter-matplotlib extensions. Done means the matplotlib widget loads in JupyterLab and the plot content and toolbar render without the reported comm-channel error.
Written by the indexing model from the issue text.
Description
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).
- Dominant language
- Jupyter Notebook
- Stars
- 1.7k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from matplotlib/ipympl
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#623 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
matplotlib/ipympl#622 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#612 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
matplotlib/ipympl#611 · 4 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
matplotlib/ipympl#609 · 6 comments ·
All issues in matplotlib/ipympl
Similar issues
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jbkunst/highcharter#849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OrgExplorer#245 · 1 assignee ·
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gordonwatts/test-wsl2-llm#151 ·