-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Milestone
Description
I have tried to creat a 3D plot with 'mpmath' in two differemt places:
- 3D surface plots (https://mpmath.org/doc/current/plotting.html):
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?
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior