Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用带有 inner='box' 和 cut=0 的 seaborn violinplot。
我看到箱线图有一条一直延伸到切口的线。这表明箱线图不是根据数据本身计算的,而是在 kde 上计算的。这个对吗?
不,你的解释不正确。箱线图基于数据。当您使用cut=0时,KDE 仅扩展到最极端的数据点。如果您没有任何异常值,则箱线图线和 KDE 边界应该重合。
cut=0