Add an option to add a diagonal line to a figure
Open
Nobody has claimed this yet.
feature
P3
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing fig.add_vline() and fig.add_hline() entry points with ggplot2's geom_abline() behavior. Define the diagonal-line API and its expected behavior across supported figure types and axes, then add coverage showing when the feature is complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100