seaborn
seaborn copied to clipboard
histplot(... element='step', fill=False) skips first and last vertical line
When plotting a histogram with element='step'
and fill=False
the resulting step plot is not closed to zero. Seaborn version is 0.11.1, matplotlib version 3.4.2.
df = pd.DataFrame(data=np.random.randn(100))
sns.histplot(data=df, element='step', fill=False)
When setting Fill=True
it works as expected.
I run into the same problem today. Is there a workaround for this?
same here