-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
[ENH]: Format PercentFormatter based on usetex value #28126
Labels
Comments
I think this can be done by changing this line to: return r'$\mathdefault{%s}$' % (s + self.symbol) when |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
When
usetex=True
, thePercentFormatter
renders using text mode instead of math mode.Proposed solution
It should be treated similar to how
ScalarFormatter
wraps the string. The entire string should be wrapped including both the number and symbol.Related:
#26179
#6886
#7965
The text was updated successfully, but these errors were encountered: