import pylab x = numpy.linspace(-1,5,10) y = numpy.exp(x) pylab.figure() pylab.plot(x,y) pylab.show()