Skip to content

Commit eb4c56c

Browse files
committed
fix plot
1 parent 8c9d844 commit eb4c56c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/simpletest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from pylab import *
12
from pymc import *
23
import numpy as np
34
import theano
@@ -25,14 +26,13 @@
2526

2627
trace = sample(1e3, step, start)
2728

28-
from pylab import *
2929
subplot(2,2,1)
3030
plot(trace[x][:,0,0])
3131
subplot(2,2,2)
3232
hist(trace[x][:,0,0])
3333

3434
subplot(2,2,3)
35-
plot(trace[x])
35+
plot(trace[x][:,1,0])
3636
subplot(2,2,4)
37-
hist(trace[x][:,0,0])
37+
hist(trace[x][:,1,0])
3838
show()

0 commit comments

Comments
 (0)