In legend, rotate arrows around their center instead of their extremity
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
When a plot includes several arrows with different angles, due to them being rotated around their extremity rather than their center (of mass for example), they can easily overlap in the legend. See example attached.
It would make more sense to me for all markers, including arrows, to be rotated around their center of mass in the legend rather than around their extremity.
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 reproducing the attached legend example in plotly.py and identify the legend rendering entry point responsible for arrow marker rotation. Compare the current extremity-based placement with center-based placement, then verify that arrows at different angles no longer overlap in the legend.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- plotly, python
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100