import mpmath as mp
r, R = 1, 2.5
f = lambda u, v: [r*mp.cos(u), (R+r*mp.sin(u))*mp.cos(v), (R+r*mp.sin(u))*mp.sin(v)]
pi = float(mp.pi); mp.splot(f, [0, 2*pi], [0, 2*pi]) # Nothing shown
import mpmath as mp
r, R = 1, 2.5
f = lambda u, v: [r*mp.cos(u), (R+r*mp.sin(u))*mp.cos(v), (R+r*mp.sin(u))*mp.sin(v)]
mp.splot(f) # Nothing shown
pi = float(mp.pi); mp.splot(f, [0, 2*pi], [0, 2*pi]) # Same thing
No errors. Just nothing. Anyone know what's the deal here?
I have tried to creat a 3D plot with 'mpmath' in two differemt places:
No errors. Just nothing. Anyone know what's the deal here?