I need to convert sympy tree expression to svg, for instance:
a = sympify("1+2/3")
b = sympify("x+5/x+3*sin(x)")
c = a + b
and i need to convert c expression to svg stringчетверг, 17 ноября 2022 г. в 16:59:38 UTC+3, [email protected]: > Are you trying to convert typeset math into a scalable vector graphic > image (.svg) or do you mean something else? > > On Thursday, November 17, 2022 at 7:54:48 AM UTC-6 [email protected] > wrote: > >> I'm taking about result of calculations, for instance: >> expr = sympify("1+2/3*sin(x)") >> result = str(expr) >> and i need to convert result to svg. How can i do this? >> >> >> четверг, 17 ноября 2022 г. в 15:05:17 UTC+3, Anton Makarov: >> >>> Hi, i am new to sympy. I need to convert the results of sympy >>> calculations to svg string. >>> How can i do this? >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sympy/39d093f9-645e-4ad6-a67a-7e625895fe6bn%40googlegroups.com.
