Saving a figure as image has some style issues
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- matplotlib, python
调研方向
未指定文件或测试。首先重现保存深色主题图形的过程,并结合主题样式表检查保存为图像的路径。完成的标准是:保存的图像具有清晰可读的坐标轴刻度和标签,同时不会导致所显示图形的样式不正确。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 50
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matplotlib/napari-matplotlib 的其他 Issue
-
Bug
难度 3/5 1-2 天 新手友好度 30/100
matplotlib/napari-matplotlib#251 · 1 条评论 ·
-
New feature
难度 3/5 1-2 天 新手友好度 38/100
matplotlib/napari-matplotlib#196 ·
-
New feature
难度 2/5 1-3 小时 新手友好度 45/100
matplotlib/napari-matplotlib#195 ·
-
good first issue Styling
难度 3/5 1-2 天 新手友好度 48/100
matplotlib/napari-matplotlib#141 ·
-
New feature
难度 5/5 一周以上 新手友好度 25/100
matplotlib/napari-matplotlib#66 · 1 条评论 · 2 个 reaction ·
查看 matplotlib/napari-matplotlib 的全部 Issue
相似的 Issue
-
[Doc]: Feedback for `/zh-cn/v0.30.0/tutorials/models/Qwen3.6-35B-A3B.html`A3社区配置和基线不一致,社区配置也达不到基线未关闭documentation
难度 2/5 1-3 小时 新手友好度 62/100
vllm-project/vllm-ascend#24429 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
nq-rdl/agent-extensions#623 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
vortex-data/vortex#12633 ·
维护者通常 1 天内回复
-
needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
gke-labs/kube-agents#7955 ·
维护者通常 1 天内回复