[FEATURE]: Add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die Implementierung von hovermode='x unified' und die Reihenfolge der Tooltip-Legende zu finden, und ermittle dann, wie Werte an jeder x-Position dynamisch sortiert werden können. Als erledigt gilt die Aufgabe, wenn der Tooltip für den beim Darüberfahren ausgewählten x-Wert die aufsteigende Reihenfolge der Legendenwerte widerspiegelt, ohne andere Hover-Modi zu ändern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100