Figures not automatically rendered in some cases
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- jupyter-notebook, python
調査の方向性
まず、新しい Jupyter kernel で2セルの例を再現し、style context と DateFormatter がある場合とない場合の inline rendering の動作を比較します。最初のセルの後の rendering path を追跡します。完了条件は、後続のセルで作成された図が通常どおりレンダリングされることです。
索引モデルが issue の本文から書いたものです。
説明
I found that in a fresh Jupyter kernel, the following snippet prevents further figures to be rendered:
# cell 1
import matplotlib.pyplot as plt
from matplotlib.dates import DateFormatter
with plt.style.context('seaborn'):
fig, ax = plt.subplots(figsize=(5, 5))
ax.xaxis.set_major_formatter(DateFormatter("%H:%M"))
This figure ("cell 1") is rendered, but new figures are not rendered any more in a notebook:
# cell 2
fig, ax = plt.subplots(figsize=(5, 5)) # not rendered
The issue does not appear in any of the following case:
- "cell 2" is run before "cell 1": all following figures are then properly rendered
- The
%matplotlib inlineinstruction is explicitly added, before or after "cell 1" - The context manager is not used (but it fails with any stylesheet)
- The
DateFormatteris not applied
- 主要言語
- 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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
scope: charts status: waiting for maintainer
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
chore P3 plotly-internal size: 3 task
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Live-Charts/LiveCharts2#2394 ·
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jbkunst/highcharter#849 ·