An interesting example

This is an interesting example.

In [1]:
import numpy as np
x = np.linspace(0, 2 * np.pi, 1000)
x[:10]
Out[1]:
array([ 0.        ,  0.00628947,  0.01257895,  0.01886842,  0.0251579 ,
        0.03144737,  0.03773685,  0.04402632,  0.0503158 ,  0.05660527])

Even more interesting than that:

In [2]:
%matplotlib inline
In [3]:
import matplotlib.pyplot as plt

plt.plot(x, np.sin(x))
Out[3]:
[<matplotlib.lines.Line2D at 0x107e9f8d0>]