Marine alignment: y-axis issues with multiple kdeplots

Currently, I am drawing 3 estimates of core density together on the same graph. I assume kdeplots use relative frequency as the y value, however for some of my data, kdeplot has frequencies above 1.

The code I'm using is:

sns.distplot(data1, kde_kws={"color": "b", "lw": 1.5, "shade": "False",  "kernel": "gau", "label": "t"}, hist=False)

Does anyone know how I can make sure kdeplot either makes the relative frequency y, or allows me to automatically adjust the limit of the ymax axis to the maximum calculated frequency?

0
source share
1 answer

, , Tight, , .

+2

All Articles