Chaowen,

This has been fixed, see https://github.com/sympy/sympy/issues/2822.

If you upgrade to SymPy 0.7.6, you shouldn't get the warning anymore.


Jason
moorepants.info
+01 530-601-9791

On Fri, Feb 13, 2015 at 11:00 AM, chaowen guo <gcwenken....@ttu.edu> wrote:

> 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 sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> 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
> <https://groups.google.com/d/msgid/sympy/bb5ae430-2d7c-4b15-ae39-3fad8876988d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/CAP7f1AixSCrF7hO0kypYXm0_SzTdvPS4yn4Ss_%2BAWbCwWQCZ5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to