I'm using seaborn violinplot with inner='box' and with cut=0.
I see the boxplot has a line that extends all the way to the cut. That suggests to me that the boxplot was computed not on the data itself, but on the kde. Is this correct?
I'm using seaborn violinplot with inner='box' and with cut=0.
I see the boxplot has a line that extends all the way to the cut. That suggests to me that the boxplot was computed not on the data itself, but on the kde. Is this correct?
No, your interpretation is incorrect. The boxplot is based on the data. When you use cut=0
, the KDE extends only to the most extreme datapoints. If you don't have any outliers, the boxplot line and KDE boundary should coincide.