In [1]:
%pylab notebook
%matplotlib notebook
In [2]:
rcParams['figure.figsize'] = 8, 4
In [3]:
x = linspace(0, 2*pi, 100)
y = np.sin(x)
plot(x, y)
show()
In [4]:
hist(randn(1000), alpha=0.5, histtype='stepfilled')
hist(0.75*randn(1000)+1, alpha=0.5, histtype='stepfilled') #hist?
show()