n, bins = np.histogram(列表或 np.array对象, 50, normed=True)
n = n * np.diff(bins)
ax.hist(函数内容)
matplotlib 直方图 使绘制的概率为 1
如果觉得文章不错,可以分享给其他人哟~
n, bins = np.histogram(列表或 np.array对象, 50, normed=True)
n = n * np.diff(bins)
ax.hist(函数内容)