Download this file
1 2 3 4 5 6 7 8 9 10 11 12
from matplotlib import mlab from pylab import figure, show a = mlab.csv2rec('data/msft.csv') a.sort() print a.dtype fig = figure() ax = fig.add_subplot(111) ax.plot(a.date, a.adj_close, '-') fig.autofmt_xdate() show()