plotly / plotly/plotly.py

legend and yaxis titles don't match in color

Offen
#3,883 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@LiamConnors arbeitet bereits daran.

Seit 11.7.2024.

bug P3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

A community member has pointed out via message to Jiny that the yaxis2 and yaxis3 title colors don't match the yaxis2 and yaxis3 legend color in this example.

The community member suggested the following:

the colors follow the ‘Plotly’ color sequence (#636EFA, #EF553B, #00CC96, #AB63FA).
Setting titlefont and tickfont to those values in the order of the axes works.

A similar issue can be found in the first example in the javascript docs; the second example of the javascript docs has a yaxis5 title which does not exist in the legend.

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.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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