implement Plotly.js’ localization features in Plotly.py
Offen
Dieses Issue hat noch niemand übernommen.
feature
P3
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
Forum Tread: https://community.plotly.com/t/how-to-get-plotly-to-use-the-set-locale/43499
TLDR: You can't get Plotly graphs to show in any other language than English (e.g. axis labels for a date axis). The only workaround is to convert every label into a string, but then you loose some important features like tickstops.
The solution would be to get Plotly.py to use the set locale (e.g. locale.setlocale(locale.LC_ALL, "") to set it to the locale of the machine it's running on) - which apparently works in Plotly.js, but not Plotly.py.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.