-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
ticklabel_format reset to default by ScalarFormatter #6330
Comments
This behavior is fundamental; I don't think it is likely to change. |
I think to expose ax.ticklabel_format(axis='x', scilimits=(-3,3), useMathText=True) If you agree with this, maybe I can make some changes. |
You can use |
Can anyone please examine this? |
Should I close this? I'm new to github. |
No, it will automatically close when the pull request is merged. |
Example:
I want to set ticklabel's as
scilimits=(-3, 3)
anduseMathText=True
.This is what works:
And this is what doesn't work, by switching two line.
Reason:
This is what I've find out, I'd like to help, but I don't know weather this should be fixed or how this can be fixed.
In the source code here, every time a
ScalarFormatter
class was called, those two values (formatter.scientific, and formatter.scilimits) was reset.Something to mention:
The text was updated successfully, but these errors were encountered: