0

I can't change the tickness of the kde line in seaborn.

enter image description here

Here is the line of the code:

sns.kdeplot(ax=ax2,x=dots['Longitude'],y=dots['Latitude'],kde_kws={'linestyle':':'},lw=0.1,levels=10)

Is it missing something?

beridzeg45
  • 246
  • 2
  • 11

1 Answers1

4

You have to use the plural form:

geyser = sns.load_dataset("geyser")
sns.kdeplot(data=geyser, x="waiting", y="duration", linestyles='--', linewidths=0.5)

Output:

enter image description here

Corralien
  • 109,409
  • 8
  • 28
  • 52