小编Paw*_*win的帖子

Python:直方图,区域标准化为1以外的值

有没有办法告诉matplotlib"规范化"直方图,使其面积等于指定值(1除外)?

选项"normed = 0"in

n, bins, patches = plt.hist(x, 50, normed=0, histtype='stepfilled')
Run Code Online (Sandbox Code Playgroud)

只是把它带回频率分布.

python matplotlib histogram area

9
推荐指数
2
解决办法
2万
查看次数

标签 统计

area ×1

histogram ×1

matplotlib ×1

python ×1