ipython / ipython/ipykernel

AnyIO commit breaks Matplotlib display in separate windows

オープン
#1,235 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
734
フォーク
412
平均マージ
1日 5時間
マージ済み PR(30日)
8

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。