matplotlib / pylab / グラフを描く plot()

from pylab import plot, show

xList = [x for x in range(-5, 5+1)]
yList = [x**2 for x in xList]

plot(xList, yList)
show()

f:id:ti-nspire:20180121074345p:plain:w300