我想画一些虚线。我怎样才能做到这一点?我尝试以 2 种不同的方式使用 linestyle 并出现错误
#### approach 1
for x, m in x_list:
sns.distplot(x, hist=False, label=m, linestyle='--')
#### approach 2
for x, m in x_list:
sns.distplot(x, hist=False, label=m, kde_kws={'linestyle':'--'})
TypeError: distplot() got an unexpected keyword argument 'linestyle'
Run Code Online (Sandbox Code Playgroud)