I run the following code in IPython notebook

import sympy
sympy.init_printing()
x=sympy.symbols("x",real=True)
sympy.Abs(x)

and always get the following warning:

/usr/lib/python3/dist-packages/IPython/core/formatters.py:239: 
FormatterWarning: Exception in image/png formatter: 
\left\lvert{x}\right\rvert
     ^
Expected a delimiter (at char 5), (line:1, col:6)
  FormatterWarning,

Although the answer is correct, my program has a lot of formula with sympy.Abs. 
So it prints a lot of warning messages like the above one. It is pretty 
annoying.

How to fix the problem?

Chaowen GUO


-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/bb5ae430-2d7c-4b15-ae39-3fad8876988d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to