add formatting options for exponentformat: "power" to provide normalised scientific notation
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
Hi,
Setting exponentformat to "power" can sometimes display numbers in a format: 0.a × 10^b . We teach the normalised scientific notation (https://en.wikipedia.org/wiki/Scientific_notation#Normalized_notation), in which the number before the decimal place must be greater than or equal to 1, and less than 10.
I couldn't see a way of setting Plotly to use this notation ("tickformat" options don't seem to expose this either), and was wondering whether it could be implemented?
Thanks for your time (and for Plotly, which is great!)
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.
Rechercherichtung
Beginne damit nachzuverfolgen, wie Plotly die Option exponentformat verarbeitet und wie tickformat angewendet wird. Vergleiche die bestehende Ausgabe "power" mit normalisierter wissenschaftlicher Notation, bei der die Mantisse mindestens 1 und kleiner als 10 ist. Als abgeschlossen gilt, wenn eine dokumentierte Formatierungsoption diese Notation konsistent erzeugt und Tests repräsentative Werte abdecken.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100