`plt.ioff()` not preventing automatic figure generation in jupyter
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、Jupyter Lab とクラシックノートブックの両方で plt.ioff() または plt.interactive(False) を使って例を再現し、その後 %matplotlib inline を明示的に実行した場合と比較します。自動的な Figure 表示に関する inline バックエンドの動作を追跡します。magic コマンドを必要とせずに Figure が自動表示されなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
Using plt.interactive(False) or plt.ioff() in Jupyter (Lab and classic notebook) does not seem to prevent automatic figure generation, unless the magic %matplotlib inline in run first, even though the inline backend is the default.
Example
import matplotlib.pyplot as plt
plt.ioff()
fig, ax = plt.subplots()
a = 0
The figure still appears automatically under the cell.

Note that
Explicitly running %matplotlib inline blocks figure creation (even though inline is the default activated backend in Jupyter):

Originally posted in https://github.com/matplotlib/matplotlib/issues/23766
- 主要言語
- Jupyter Notebook
- スター
- 31
- フォーク
- 39
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ipython/matplotlib-inline のほかの issue
-
Support animations オープン
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
ipython/matplotlib-inline#61 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ipython/matplotlib-inline#59 ·
-
Publish changelog オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ipython/matplotlib-inline#57 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ipython/matplotlib-inline#54 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
ipython/matplotlib-inline#44 · コメント 1 件 ·
ipython/matplotlib-inline の issue をすべて見る
似ている issue
-
bug customer-eng Durable Agents Inngest status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
integration: elevenlabs
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
home-assistant/core#182944 · コメント 1 件 ·
-
ai-observability bug team/ai-observability
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vicharanashala/fln#563 ·