import pylab as pb x=pb.linspace(-4,9,50) y=2*x+1 pb.plot(x,y) pb.show()