ipython / ipython/ipykernel

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

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

説明

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.

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

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

評価

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

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

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