plotly / plotly/plotly.py

[FEATURE]: Add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode

Aperta
#5,453 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

feature P3
Lingua principale
Python
Stelle
18.8k
Fork
2.8k
Merge medio
16h 26m
PR unite (30g)
21

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non vengono indicati file, test o punti di ingresso. Inizia individuando l’implementazione di hovermode='x unified' e l’ordinamento della legenda del tooltip, quindi determina come ordinare dinamicamente i valori in ogni posizione x. Il lavoro è completato quando il tooltip riflette l’ordine crescente dei valori della legenda per il valore x su cui si passa il cursore, senza modificare le altre modalità di hover.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
data-visualization
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.