plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

Add "SI extended" formatting rule for the tick exponents

Open dberardi99 opened this issue 1 year ago • 1 comments

Fix https://github.com/plotly/plotly.py/issues/4787

As suggested by @alexcjohnson in https://github.com/plotly/plotly.py/issues/4787#issuecomment-2402073672, a new "SI extended" tick exponents' formatting rule has been added to display numbers in the full SI unit range (10^-30 to 10^30).

In addition, the 20.json mock and its baseline have been modified to show how this new mode works.

dberardi99 avatar Oct 24 '24 05:10 dberardi99

LGTM, thanks @dberardi99! It’ll need a draftlog entry, I’d call it an addition rather than a bug fix. @archmoj I see you have this slotted for the next release after 3.0, sounds reasonable, I’ll defer to you for a final review

alexcjohnson avatar Oct 25 '24 12:10 alexcjohnson

@dberardi99 Could you please resolve the conflicts with master?

archmoj avatar Jul 18 '25 20:07 archmoj

@emilykl @camdecoster The changes here LGTM. Fixed the merge conflict in src/plots/cartesian/axes.js.

alexshoe avatar Oct 15 '25 18:10 alexshoe

Woohoo, thanks @dberardi99 and @alexshoe ! 🎉

emilykl avatar Oct 16 '25 16:10 emilykl