Add an option to add a diagonal line to a figure
未关闭
还没有人认领这个 Issue。
feature
P3
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
While horizontal and vertical lines can be easily added to a figure using fig.add_vline() and fig.add_hline() diagonals are much more complicated.
It would be great to implement a similar function that allows adding diagonals.
This could be called fig.add_abline() similar to the geom_abline() in ggplot2
Thanks for considering this.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,将现有的入口 fig.add_vline() 和 fig.add_hline() 与 ggplot2 的 geom_abline() 行为进行比较。定义对角线 API 及其在受支持的 figure 类型和坐标轴上的预期行为,然后添加覆盖范围以展示该功能何时完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100