plotly / plotly/plotly.py

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

Abierto
#5,453 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

feature P3
Lenguaje dominante
Python
Estrellas
18.8k
Forks
2.8k
Merge medio
16 h 26 min
PR fusionados (30 d)
21

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

No se nombran archivos, pruebas ni puntos de entrada. Empieza localizando la implementación de hovermode='x unified' y el orden de la leyenda del tooltip; después, determina cómo se pueden ordenar dinámicamente los valores en cada posición x. Se considera terminado cuando el tooltip refleja el orden ascendente de los valores de la leyenda para el valor x sobre el que se está pasando el cursor, sin cambiar otros modos de hover.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
data-visualization
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.