Asymptote is a very high quality scripted graphing/drawing program -
https://asymptote.sourceforge.io/
Please look at the galleries in the link. However, it has it's own
scripting language (similar to C/C++). I would suggest that you look at
a code generator for the Asymptote scripting language with respect to
translating sympy formulas into Asymptote script so they could easily be
copied into Asymptote programs for the generation of publication quality
graphics.