Notebook Test

Just something cool I thought I'd try


In [1]:
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline

In [2]:
data=np.arange(1000)
data=data+np.random.rand(len(data))*19
data=np.sin(data/39)
plt.plot(data,'.')


Out[2]:
[<matplotlib.lines.Line2D at 0x7f225ff5c4a8>]

In [3]:
count,bins=np.histogram(data,bins=200)
plt.plot(bins[:-1],count,'.-')


Out[3]:
[<matplotlib.lines.Line2D at 0x7f225fe43d30>]

In [ ]: