mpl.mathtext.ParseException

exception mpl.mathtext.ParseException(pstr, loc=0, msg=None, elem=None)[source]

exception thrown when parse expressions don’t match class; supported attributes by name are:

  • lineno - returns the line number of the exception text
  • col - returns the column number of the exception text
  • line - returns the line containing the exception text