Add "SI extended" formatting rule for the tick exponents#7249
Merged
alexshoe merged 10 commits intoplotly:masterfrom Oct 16, 2025
Merged
Add "SI extended" formatting rule for the tick exponents#7249alexshoe merged 10 commits intoplotly:masterfrom
alexshoe merged 10 commits intoplotly:masterfrom
Conversation
Collaborator
|
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 |
Contributor
|
@dberardi99 Could you please resolve the conflicts with master? |
fe8e096 to
15fa0ba
Compare
Contributor
|
@emilykl @camdecoster The changes here LGTM. Fixed the merge conflict in |
emilykl
reviewed
Oct 15, 2025
emilykl
reviewed
Oct 15, 2025
emilykl
approved these changes
Oct 15, 2025
Contributor
There was a problem hiding this comment.
Left a few suggestions for improving the clarity of the code, but LGTM!
@dberardi99 Please add a new draftlog file in draftlogs/ describing this change.
camdecoster
reviewed
Oct 15, 2025
Contributor
|
Woohoo, thanks @dberardi99 and @alexshoe ! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix plotly/plotly.py#4787
As suggested by @alexcjohnson in plotly/plotly.py#4787 (comment), 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.