Skip to content

Commit 4fb8aed

Browse files
aloctavodiaJunpeng Lao
authored andcommitted
densityplot: fix bug hpd_markers (#2895)
1 parent 7471e4e commit 4fb8aed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc3/plots/densityplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ def _d_helper(vec, vname, c, bw, alpha, point_estimate, hpd_markers, outline, sh
175175
ax.hist(vec, bins=bins, color=c, alpha=shade)
176176

177177
if hpd_markers:
178-
ax.plot(xmin, 0, 'v', color=c, markeredgecolor='k')
179-
ax.plot(xmax, 0, 'v', color=c, markeredgecolor='k')
178+
ax.plot(xmin, 0, hpd_markers, color=c, markeredgecolor='k')
179+
ax.plot(xmax, 0, hpd_markers, color=c, markeredgecolor='k')
180180

181181
if point_estimate is not None:
182182
if point_estimate == 'mean':

0 commit comments

Comments
 (0)