In [1]:
%pylab inline
from pyseqlogo.pyseqlogo import draw_logo, setup_axis


Populating the interactive namespace from numpy and matplotlib

In [4]:
counts = {'A' : [0.3,0.4,0.5,0.6], 'C': [0.2,0.3,0.1,0.2], 'T': [0.2,0.1,0.3,0.1], 'G': [0.3,0.2,0.1,0.1]}

fig, axarr = draw_logo(counts, data_type='probability', yaxis='probability')
fig.tight_layout()



In [ ]: