ipython / ipython/ipykernel

Using the recent ipykernel 7.x causes plots to not show up from ipympl widgets.

Abierto
#1,476 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
734
Forks
412
Merge medio
1 d 5 h
PR fusionados (30 d)
8

Descripción

After upgrading to recent versions of `jupyterlab`, `ipympl` and `ipykernel` I observed on different systems, either Windows 11 or Linux, that `ipympl` figures would not show up sometimes without an explicit `plt.show()` at the end of the cell.

While this looked to me at first glance like an `ipympl` bug because it does not appear using inline figures it turns out that downgrading `ipykernel` to `6.3.1` completely solves the issue.

Here is the the original report with more details: https://github.com/matplotlib/ipympl/issues/609

I saw that `ipykernel>=7` has quite a few changes regarding `matplotlib`, so I assume this is a unwanted side-effect of these changes.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.