matplotlib / matplotlib/napari-matplotlib

Saving a figure as image has some style issues

オープン
#235 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Bug Styling
主要言語
Python
スター
46
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

説明

When saving a figure as image while using the dark theme the style poses some problems. The axe ticks and labels remain coloured light grey as stated by the style sheet, but this makes them nearly invisible in the saved image.

I would suggest to either use a non-transparent facecolor (napari theme background) or add specific colouring for savefig to the style sheet: figure.facecolor : 262930 or savefig.facecolor : 262930

Another solution would be to change the colours for the axes, ticks and labels for saving, but as far as I know this can't be achieved through matplotlib without changing the colours of the displayed figure as well.

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ファイルもテストも指定されていません。まず、ダークテーマの図の保存を再現し、テーマのスタイルシートと併せて画像への保存パスを調べてください。表示されている図のスタイルを不適切にすることなく、保存された画像で軸の目盛りとラベルが読みやすくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
matplotlib, python
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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