plotly / plotly/plotly.py

Font size units missing in docs

Offen
#4,240 1 Kommentar 1 Reaktion 1 zugewiesene Person Auf GitHub ansehen

@LiamConnors arbeitet bereits daran.

Seit 11.7.2024.

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

Beschreibung

Looking at https://plotly.com/python/reference/layout/#layout-font, we see

size
Code: fig.update_layout(font_size=<VALUE>)
Type: number greater than or equal to 1
Default: 12

But what are the units of this number? Points? Pixels? cm? in? Experimentation shows that it's most likely points, but an official record of that would be nice.

Hopefully this doesn't take more than a couple of minutes. Thank you for your time.

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.