Clarify when to use None / np.nan to segement data
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- matplotlib, python
调研方向
从链接的 Matplotlib issue 开始,比较使用以 np.nan 分隔的数据时 ax.plot 与 LineCollection 的文档化用法。明确各方法适用的场景,包括单一路径在 alpha < 1 时不会显示自相交这一限制;当 cheatsheet 中的指导解决了这一疑惑时即算完成。
由索引模型根据 Issue 内容生成。
描述
see https://github.com/matplotlib/matplotlib/issues/23714
These is some user confusion about when to use ax.plot with np.nan separated data and when something like LineCollection is a better choice. In particular, using the segmented data approach the line will be drawn as a single path which will not show self-intersection for alpha < 1.
- 主要语言
- Python
- 星标
- 7.8k
- 派生
- 916
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matplotlib/cheatsheets 的其他 Issue
-
'right' and 'top' in plt.subplots_adjust() are not directly padding size可能已有人在做 @oscargus 于 1656 天前认领。 未关闭cheatsheet
难度 1/5 1 小时以内 新手友好度 65/100
matplotlib/cheatsheets#109 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
matplotlib/cheatsheets#143 · 1 条评论 ·
-
Brazilian Portuguese translation可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 4/5 3-5 天 新手友好度 20/100
matplotlib/cheatsheets#131 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 15/100
matplotlib/cheatsheets#119 · 4 条评论 ·
-
Replace `step` with `stairs`?可能已有人在做 @oscargus 于 1656 天前认领。 未关闭cheatsheet
难度 2/5 1-3 小时 新手友好度 25/100
matplotlib/cheatsheets#111 · 1 条评论 · 2 个 reaction ·
查看 matplotlib/cheatsheets 的全部 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 天内回复