Boxplot hoverinfo/hovertext fails to take
Personne n'a encore pris cette issue.
- Langage dominant
- JavaScript
- Étoiles
- 18.3k
- Forks
- 2k
- Merge moyen
- 2 j 12 h
- PR mergées (30 j)
- 28
Description
Hello! I'm trying to customize the hover behavior of a box plot, and it doesn't seem to be working in the way I'd expect.
Reproduction of the issue here: https://codepen.io/lswainemoore/pen/MYgJQJp
In the first two plots, I've tried the two methods that I'd expect to work based on the documentation and other plot types. In A, which uses the hovertemplate method that works for scatter C, the original hovers are unchanged. In B, which uses the text + hoverinfo method that works for scatter D, the hovers disappear. The style of the hovers is customizable via layout, but content seems not to be.
I see some mention of this issue here / here (in python, though I trust the issue is the same), but no resolution yet. Hopefully my reproduction above is helpful for making progress on this! If a fix isn't possible in the short term, it would be nice to confirm that this is a known issue at least, and that I'm not just holding it wrong.
Appreciate any thoughts and help with this.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par la reproduction CodePen liée et comparez le comportement du box plot avec les exemples de nuage de points qui utilisent hovertemplate et text avec hoverinfo. Lisez la documentation de référence des box plots ainsi que les issues associées #5706 et plotly.py #3334. Le travail est considéré comme terminé lorsque le contenu au survol des box plots peut être personnalisé comme prévu, ou lorsque la limitation connue est clairement documentée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- data-visualization
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100