Implement needs_background metadata
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- jupyter
调研方向
阅读 matplotlib_inline/backend_inline.py 第 226-239 行中引用的实现,然后检查 ipympl 的静态图像路径和 widget view。为静态图像实现 needs_background 元数据行为;issue 指出,widget repr 行为可能需要单独的自定义逻辑。
由索引模型根据 Issue 内容生成。
描述
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.
This will not work for the widget repr, but we could probably implement custom logic to mimick this behavior with the widget view.
- 主要语言
- Jupyter Notebook
- 星标
- 1.7k
- 派生
- 234
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matplotlib/ipympl 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
matplotlib/ipympl#623 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
matplotlib/ipympl#622 · 13 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
matplotlib/ipympl#612 ·
-
难度 3/5 1-2 天 新手友好度 45/100
matplotlib/ipympl#611 · 4 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
matplotlib/ipympl#609 · 7 条评论 ·
查看 matplotlib/ipympl 的全部 Issue
相似的 Issue
-
bug :bug:
难度 2/5 1-3 小时 新手友好度 82/100
-
enhancement P3: gap query
难度 2/5 1-3 小时 新手友好度 75/100
jeffknupp/association#208 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
SignalK/freeboard-sk#824 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google/libultrahdr#485 ·