报错 关于python的x和y不等长

ValueError: shape mismatch: objects cannot be broadcast to a single shape

这个错误可能是因为传入的两个参数数据长度不一样,比如在画图的时候。