📅  最后修改于: 2022-03-11 14:45:40.560000             🧑  作者: Mango
# Short answer:
# Adjust the bandwidth parameter to smaller values. E.g. bw = 0.1
# Example usage:
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
data = np.random.rand(100)
sns.violinplot(y=data, bw=0.1) # Changing the bw parameter adjusts how
# tightly the data is fit by the kernel density estimate (KDE)