这里写自定义目录标题
ValueError: x and y must be the same sizeValueError: x and y must be the same size
代码示例
# Probability
fig = plt.figure(figsize=(6,4), dpi = 300)
ax = plt.gca()
ax.scatter(ranks, probs, alpha = 0.5)入代码片`_
这类问题原因一般是x,y长度不同。建议用print(len(x))函数查看长度。