标准和堆叠选项matplotlib.pyplot.his

2024-09-28 03:21:19 发布

您现在位置:Python中文网/ 问答频道 /正文

嗨,我有一个数据集,我正在使用histmatplotlib.pyplot公司名称:

In [182]: entries, bin_edges, patches = plt.hist(d[w], bins = 50, normed = True, 
                                                 stacked = True)

我得到了一个直方图而不是概率密度,这意味着“标准化”或“堆叠”不起作用。在

我错过什么了吗?在

提前谢谢


Tags: 数据in名称truebin公司plthist

热门问题