Skip to content

Commit e4f72a1

Browse files
committed
histogram fix
1 parent 675f8c8 commit e4f72a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/distributions/continuous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4241,7 +4241,7 @@ class Interpolated(BoundedContinuous):
42414241
ax.plot(points, pdf, color='black', marker='o', label='Lattice Points',alpha=0.5,linestyle='')
42424242
ax.plot(x, np.exp(interpolated.logp(x).eval()),'C1',label='Interpolated pdf',alpha=0.8,lw=3)
42434243
r = interpolated.random(size=1000)
4244-
ax.hist(r, density=True, histtype='stepfilled', alpha=0.4,align ='right',color='grey')
4244+
ax.hist(r, density=True, alpha=0.4,align ='mid',color='grey')
42454245
ax.legend(loc='best', frameon=False)
42464246
plt.show()
42474247

0 commit comments

Comments
 (0)