You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both lines use the text default font of DejaVu Sans, but setting math_fontfamily to cm prevented replacement of minus by unicode minus.
Expected outcome
Unicode minus in both cases
Additional information
(I probably have a fix that'll come after tearing down most mathtext deprecations that expire in 3.6, namely getting rid of the math kwarg in the various font classes and instead make the minus->unicode_minus replacement earlier, during the parsing stage.)
Operating system
linux
Matplotlib Version
3.5
Matplotlib Backend
qt5agg
Python version
39
Jupyter version
ENOSUCHLIB
Installation
No response
The text was updated successfully, but these errors were encountered:
Bug summary
All's in the title (and the examples).
Code for reproduction
Actual outcome
Both lines use the text default font of DejaVu Sans, but setting math_fontfamily to cm prevented replacement of minus by unicode minus.
Expected outcome
Unicode minus in both cases
Additional information
(I probably have a fix that'll come after tearing down most mathtext deprecations that expire in 3.6, namely getting rid of the
math
kwarg in the various font classes and instead make the minus->unicode_minus replacement earlier, during the parsing stage.)Operating system
linux
Matplotlib Version
3.5
Matplotlib Backend
qt5agg
Python version
39
Jupyter version
ENOSUCHLIB
Installation
No response
The text was updated successfully, but these errors were encountered: