Skip to content

Commit dafd84c

Browse files
adding more useful priors
1 parent f8f5b82 commit dafd84c

File tree

2 files changed

+105
-20
lines changed

2 files changed

+105
-20
lines changed

Chapter2_MorePyMC/daft_plot.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#daft drawing for SMS example
22
import matplotlib.pyplot as plt
33

4-
plt.figure( figsize=(12,5) )
4+
55

66
try:
77
import daft
@@ -27,5 +27,5 @@
2727

2828
pgm.add_edge("lambda", "obs")
2929
pgm.render()
30-
30+
plt.figure( figsize=(12,5) )
3131
plt.show()

0 commit comments

Comments
 (0)