Skip to content

support 'e' and 'E' exponentformat on log axes #2921

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2018
Merged

Conversation

alexcjohnson
Copy link
Collaborator

fixes #2919 - not sure why I thought at the time that e and E should be treated as synonymous with power but that doesn't really make much sense.
cc @etpinard

@@ -734,7 +734,7 @@
"size": 0,
"color": ""
},
"exponentformat": "e",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@etpinard I suppose since this behavior has existed so long, this could be considered a breaking change... but it also seems to me to be clearly wrong. Are you OK with calling it a bug?

Copy link
Contributor

@etpinard etpinard Aug 20, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'm ok calling this a bug as "e" isn't the exponentformat default, so it can't happen "by accident".

"mirror": true,
"overlaying": false,
},
"exponentformat": "power",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah. there is it 🔍

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh yeah, sorry - I should have split out linting those trailing spaces (we don't test that in the mocks?) into its own commit.

@etpinard
Copy link
Contributor

Beautiful 💃

@alexcjohnson alexcjohnson merged commit a8c6217 into master Aug 20, 2018
@alexcjohnson alexcjohnson deleted the log-e-format branch August 20, 2018 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exponentformat of 'E' does not work with log scaling
2 participants