This is something which was not obvious to me (or I don't read well),
so posting it in case it helps someone:
>>> from sympy import plot
>>> from sympy import Symbol
>>> x=Symbol('x')
>>> p = plot(2*x+3,show=False)
Now, you have a object of the Plot class returned in p.
So, you can either see the graph now:
>>> p.show()
Or save it:
>>> p.save('/tmp/foo1.png')
--
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.
For more options, visit https://groups.google.com/groups/opt_out.