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