ipython / ipython/ipykernel

AnyIO commit breaks Matplotlib display in separate windows

未关闭
#1,235 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
734
派生
412
平均合并
1 天 5 小时
30 天内合并 PR
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 摘要。