What is y axis in seaborn distplot?

后端 未结 2 848
孤城傲影
孤城傲影 2020-12-13 01:45

I have some geometrically distributed data. When I want to take a look at it, I use

sns.distplot(data, kde=False, norm_hist=True, bins=100)

2条回答
  •  余生分开走
    2020-12-13 02:27

    From the documentation:

    norm_hist : bool, optional

    If True, the histogram height shows a density rather than a count. This is implied if a KDE or fitted density is plotted.

    So you need to take into account your bin width as well, i.e. compute the area under the curve and not just the sum of the bin heights.

提交回复
热议问题