-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Log-scale ignores Formatter #8517
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
Comments
It is using your formatter for the major ticks (the You will need to either turn off the minor formatters or also set them to what you want. |
Closing this as not a bug, where would you have looked for documentation on this? |
Thank you for the quick response! Setting the minor formatter as well leads to the wanted result. I just did not realise that the ticks in the log-scaled version are minor. Being aware of this, the solution (setting minor_formatter) seems natural. |
Bug report
Bug summary
Logarithmic scaling seems to break the label formatting.
Code for reproduction
The issue is reproducible using different Formatters (e.g. FuncFormatter, ...).
Actual outcome

Expected outcome
I would expect the axis to use the passed Formatter like the linear scaled axis does:
Matplotlib version
Matplotlib was installed from the conda-forge channel.
Thanks for your great work!
/Lukas
The text was updated successfully, but these errors were encountered: