`pp.plot` docstring: say that style kwargs can be per-line dicts
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 88/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- matplotlib, python
调研方向
找到 pp.plot 的 docstring,并检查其中如何描述转发给绘图库的关键字参数。添加一句话和一个示例,说明样式 kwargs 可以是以线条名称为键的字典,如 issue 中所示。docstring 清楚地解释了逐条线设置样式后,任务即完成。
由索引模型根据 Issue 内容生成。
描述
pp.plot({'a': a, 'b': b}, ls={'a': 'solid', 'b': 'dashed'}) styles each
line separately, which is very useful. The docstring only says that
kwargs are "forwarded to the underlying plotting library", so I assumed
this wasn't possible and used matplotlib directly before finding it out by
trying. One sentence and an example in the docstring would help.
Reproduced on plopp 26.11.0, scipp 26.9.0, matplotlib 3.11.2.
- 主要语言
- Python
- 星标
- 12
- 派生
- 7
- 平均合并
- 16 小时 5 分钟
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
scipp/plopp 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 68/100
相似的 Issue
-
priority: low research
难度 2/5 1-3 小时 新手友好度 75/100
LearningCircuit/local-deep-research#10088 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
WebOfTrust/keripy#1787 ·
维护者通常 1 天内回复
-
logging pod-log-review security severity: medium
难度 2/5 1-3 小时 新手友好度 76/100
smarter-sh/smarter#1124 · 1 条评论 ·
维护者通常 1 天内回复
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 82/100
hesreallyhim/awesome-claude-code#3773 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
lightninglabs/layertree#28 ·