[FEATURE]: Add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- data-visualization
Research direction
No files, tests, or entry points are named. Start by locating the implementation of hovermode='x unified' and its tooltip legend ordering, then determine how values at each x position can be sorted dynamically. Done means the tooltip reflects ascending legend-value order for the hovered x value without changing other hover modes.
Written by the indexing model from the issue text.
Description
Instructions (remove this section before submitting an issue)
Thanks for your interest in plotly.py!
- Before submitting a new feature request, please search for existing and closed requests. If your request is novel, fill out the sections below and submit a new request.
- Comments should add content to the discussions. Approbation comments such as +1 or I would like this feature to be implemented as well will be deleted by the maintainers. Please use GitHub reactions instead.
Description
Add a clear description of the feature that you're requesting.
Please add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode, so that when the user move the mouse over the chart, the legend showing up in the tooltip block reflects the ascending order of the legend value for that specific x value.
Why should this feature be added?
Provide an argument for why this feature should be added. We can't add everything, so this will help us determine what gets worked on. Please also consider creating a PR and adding the feature yourself. Help is always appreciated.
This will drastically improve the intuitiveness of the tooltip block information, making direct comparison between different trace at a certain x value much more easier.
Mocks/Designs
Please add any mocks or designs you might have for the feature.
Notes
Add info here that doesn't fit in the other sections.
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
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.
More from plotly/plotly.py
-
P3 size: 1 task
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug P1
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
feature P3
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
feature P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in plotly/plotly.py
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100