Hi, i need to save figure from svg plotting module as svg string in order 
to 
insert it latter in my web application. At the moment i can only save plot 
as svg file:

from sympy import symbols
from sympy.plotting import plot

x = symbols('x')
p1 = plot(x, x**2, x**3, (x, 0, 6), show = False)
p1.save("img123.svg")

How can i save plot to get the svg string (P.S. i don't want to read the 
file "img123.svg" to get the svg string, i need to get it without creating 
temporary file)...

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c65df323-b088-4cd3-9234-0381822eb686n%40googlegroups.com.

Reply via email to