Hopefully this includes a notebook...
A dumb notebook¶
In [1]:
from __future__ import print_function
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
Let's make a plot¶
Of some random data.
In [2]:
# make some points...
x = np.random.random(100)
# and a function of them
y = x**2
# But add some noise
y += np.random.randn(100)/10
In [4]:
plt.plot(x,y, 'o')
Out[4]:
In [ ]:
Comments
comments powered by Disqus