In [1]:
from matplotlib.pylab import *

In [2]:
import matplotlib

matplotlib.__version__


Out[2]:
'1.5.1'

In [3]:
x = linspace(0,10,9)
y = randn(9)

In [4]:
x,y


Out[4]:
(array([  0.  ,   1.25,   2.5 ,   3.75,   5.  ,   6.25,   7.5 ,   8.75,  10.  ]),
 array([ 0.72942939, -1.87287975, -1.65181426,  1.40403636,  2.57161798,
        -0.48915728,  1.78377227, -0.59498191, -0.44434416]))

In [6]:
scatter(x,y)
show()