matplotlib / matplotlib/ipympl
Implement needs_background metadata
まだ誰も着手していません。
- 主要言語
- Jupyter Notebook
- スター
- 1.7k
- フォーク
- 234
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## Describe the issue
The matplotlib-inline backend provides the `needs_background` metadata which allows to force a light background under plot images to improve readability when using a JupyterLab dark theme. We should probably implement the same for the static image.
See https://github.com/ipython/matplotlib-inline/blob/541b26da2f49d0403994b91cb062e8c438920c44/matplotlib_inline/backend_inline.py#L226-L239
This will not work for the widget repr, but we could probably implement custom logic to mimick this behavior with the widget view.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
matplotlib_inline/backend_inline.py の 226-239 行にある参照先の実装を読み、その後 ipympl の静的画像パスと widget view を調べてください。静的画像に対する needs_background メタデータの動作を実装してください。この issue では、widget repr の動作には別途カスタムロジックが必要になる可能性があると記載されています。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter
- 領域
- data-visualization, frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100