Skip to content

Commit aada537

Browse files
authored
fix corner case for ylim (#104)
1 parent bb5a98f commit aada537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

preliz/utils/plot_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def plot_pdfpmf(dist, moments, pointinterval, quantiles, support, legend, figsiz
5959
if dist.kind == "continuous":
6060
density = dist.rv_frozen.pdf(x)
6161
ax.plot(x, density, label=label, color=color)
62+
ax.get_ylim()
6263
ax.set_yticks([])
6364
else:
6465
mass = dist.rv_frozen.pmf(x)

0 commit comments

Comments
 (0)