We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb5211 commit 0bb0ad1Copy full SHA for 0bb0ad1
pymc3/plots/kdeplot.py
@@ -38,6 +38,7 @@ def kdeplot(values, label=None, shade=0, ax=None, kwargs_shade=None, **kwargs):
38
density, l, u = fast_kde(values)
39
x = np.linspace(l, u, len(density))
40
ax.plot(x, density, label=label, **kwargs)
41
+ ax.set_ylim(0)
42
if shade:
43
ax.fill_between(x, density, alpha=shade, **kwargs_shade)
44
return ax
0 commit comments