it receive the following error when use matplotlib

Posted on

QUESTION :

MathTextWarning: Font ‘default’ does not have a glyph for ‘-‘ [U+2212], substituting with a dummy symbol.
MathTextWarning)

ANSWER :

You’re probably using the “wrong” minus sign. Try using U+002D, or HYPEN-MINUS instead as this is more commonly used as the minus sign for programming languages.

Leave a Reply

Your email address will not be published. Required fields are marked *