plotly / plotly/plotly.js

Secondary x-axis numberline doesn't show on histogram plots

Offen
#6,308 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug P3
Vorherrschende Sprache
JavaScript
Sterne
18.3k
Forks
2k
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
28

Beschreibung

I'm trying to make a plot that histograms two variables (min, max) for two sources (two different LEDs).
The plot should have two y axes and two x-axes; both sets of minimum values are plotted with a given pair of x-y axes, and both sets of maximum values on the other. This appears to be straightforward to implement; just specify the two additional axes in the layout and set the corresponding traces to use them, but for some reason although the secondary x-axis title is shown at the top (as desired), the corresponding axis numberline isn't.
reproducible example
Apologies for the somewhat contrived example code, it's hacked out of a wider webpage, but i think is easy enough to understand.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem verlinkten reproduzierbaren JSBin-Beispiel und bestätige, dass der Titel der sekundären x-Achse gerendert wird, ihre numberline jedoch nicht. Verfolge den relevanten plotly.js-Pfad zum Rendern der Achse und überprüfe das Verhalten mit der Histogrammkonfiguration; abgeschlossen ist die Aufgabe, wenn die numberline der sekundären x-Achse neben ihrem Titel erscheint.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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