[mpi] add mpi into ssgplvm

This commit is contained in:
Zhenwen Dai 2014-05-14 15:07:39 +01:00
parent a702b0862b
commit d911766624
6 changed files with 165 additions and 288 deletions

View file

@ -93,7 +93,7 @@ def plot_SpikeSlab(parameterized, fignum=None, ax=None, colors=None, side_by_sid
a.set_xticklabels('')
# binary prob plot
a = fig.add_subplot(*sub2)
a.bar(x,gamma[:,i],bottom=0.,linewidth=0,align='center')
a.bar(x,gamma[:,i],bottom=0.,linewidth=0,width=1.0,align='center')
a.set_xlim(x.min(), x.max())
a.set_ylim([0.,1.])
pb.draw()