Special characters in Matplotlib mathtext break application
Summary
- special characters (e.g.
%
) letpolt
crash.
Steps to reproduce
- use a unit
%
What is the current bug behavior?
-
polt
crashes
What is the expected correct behavior?
- doesn't crash and displays correctly
Relevant logs and/or screenshots
Possible fixes
- We need to properly escape special characters
- https://matplotlib.org/tutorials/text/mathtext.html?highlight=escape