错误求助 ValueError:setting an array element with a sequence
def Repaint(source):a_value = a_scale.get() # 从滑动条a_scale中获取a的值
x = np.linspace(0, 10, 200)
y = np.zeros(x.shape)
for i in range(x.shape):
y = ((1 + (x / a_value) ** 2) / ((1 - x ** 2) ** 2 + (x / a_value) ** 2)) ** (1 / 2)#a_value * x + b_value
y_min, y_max = -10, 10 为什么最后运行会显示ValueError:setting an array element with a sequence呀 有没有大佬解答一下
页:
[1]