matplotlib / matplotlib/ipympl
matplotlib widgets fail to load
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Jupyter Notebook
- Estrellas
- 1.7k
- Forks
- 234
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
## Describe the issue
Get a line like `[]` 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).
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el gráfico vacío con las versiones indicadas de Python, ipympl, JupyterLab e ipywidgets y, a continuación, empieza por el fallo al cargar el widget en manager-base.js:291 y por las extensiones jupyter-matplotlib habilitadas. Se considera terminado cuando el widget de matplotlib se carga en JupyterLab y el contenido del gráfico y la barra de herramientas se muestran sin el error de canal de comunicación indicado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- jupyter-notebook, python
- Área
- data-visualization
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100