plt.scatter(xArray,ySmoothedCopy,'b')
报错:
ValueError: s must be a scalar, or float array-like with the same size as x and y
原因,scatter函数没有严格参数输入格式
改正
plt.scatter(xArray,ySmoothedCopy,color='b',s= 0.5)
解决!
plt.scatter(xArray,ySmoothedCopy,'b')
报错:
ValueError: s must be a scalar, or float array-like with the same size as x and y
原因,scatter函数没有严格参数输入格式
改正
plt.scatter(xArray,ySmoothedCopy,color='b',s= 0.5)
解决!