ipython / ipython/ipykernel

AnyIO commit breaks Matplotlib display in separate windows

Aberta
#1,235 5 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
734
Forks
412
Merge médio
1d 5h
PRs com merge (30d)
8

Descrição

With the commit before the AnyIO PR on the `main` branch (830829fd) and using `ipython 8.23.0` and `matplotlib 3.8.4`, the displaying of Matplotlib plots in separate windows (e.g. with `qt` backend) using jupyter works fine. With the AnyIO commit (772dfb8a) onwards the plot windows are no longer displayed.

Code to reproduce (I've been using `jupyter qtconsole` but `jupyter lab`, etc, all show the same):
```python
%matplotlib qt
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
ax.plot([1, 3, 2])
```

In `ipython` the same example works fine.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.