The code underneath works but my problem is that it prints spaces in between the bars in the histogram and I want zero space in between each bin. Any suggestion is appreciated - appreciation!
sns.histplot(stat='frequency',data=df, x="Water",color = "red", bins=10,
alpha = 0.3, kde = True, line_kws = {'color':'red','linestyle': 'dashed'})
I want something like the below plot.
CodePudding user response:
Using edgecolor
, which is passed through to
Or if you want an edge, then:
edgecolor='red'