Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Boxplot hoverinfo/hovertext fails to take

Offen
#7,318 4 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
javascript

Rechercherichtung

Beginne mit der verlinkten CodePen-Reproduktion und vergleiche das Verhalten des Box-Plots mit den Scatter-Beispielen, die hovertemplate und text zusammen mit hoverinfo verwenden. Lies die Referenzdokumentation für Box-Plots und die zugehörigen Issues #5706 und plotly.py #3334. Als erledigt gilt die Aufgabe, wenn der Hover-Inhalt von Boxplots erwartungsgemäß angepasst werden kann oder die bekannte Einschränkung eindeutig dokumentiert ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug P3

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.

Vorherrschende Sprache
JavaScript
Sterne
18.4k
Forks
2k
Ø Merge
1 T. 19 Std.
Gemergte PRs (30 T.)
20

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly.js

Alle Issues in plotly/plotly.js

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.