You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python
Python 3.8.3 (default, May 17 2020, 18:15:42)
>>> from mpmath import *
>>> f = lambda x, y: sin(x+y)*cos(y)
>>> splot(f, [-pi,pi], [-pi,pi])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/python/Pyvenv/lib/python3.8/site-packages/mpmath/visualization.py", line 267, in splot
u = pylab.linspace(ua, ub, M)
File "<__array_function__ internals>", line 5, in linspace
File "/home/python/Pyvenv/lib/python3.8/site-packages/numpy/core/function_base.py", line 132, in linspace
dt = result_type(start, stop, float(num))
File "<__array_function__ internals>", line 5, in result_type
TypeError: data type not understood
>>>
>>>
>>> matplotlib.__version__
'3.2.1'
>>> mpmath.__version__
'1.1.0'