TypeError:*:'float'和'numpy.ufunc'不支持的操作数类型

时间:2019-10-10 20:27:00

标签: python typeerror

请帮助

a = sp.arange(0,10,0.1)

b = np.sin(a)* (np.exp) * (np.power(-0.1*a))

plt.figure(3)

plt.scatter(a[::20],b[::20])

plt.show()

产生错误

  

TypeError:*:'float'和'numpy.ufunc'不受支持的操作数类型

0 个答案:

没有答案