PS Note that you are not really using sympy in the code (def g (x,y) uses its own version of standard Python variables x and y) Also, mixing numpy and sympy doesn't work This related post handles plotting a surface as parametric surface via sympy Note that these parametric surfaces only work for 2 variables, in this case x, y and z are
