有没有办法告诉matplotlib"规范化"直方图,使其面积等于指定值(1除外)?
选项"normed = 0"in
n, bins, patches = plt.hist(x, 50, normed=0, histtype='stepfilled')
只是把它带回频率分布.
python matplotlib histogram area
area ×1
histogram ×1
matplotlib ×1
python ×1