tried it, still gives me
Traceback (most recent call last):
File "highs_lows.py", line 43, in <module>
plt.xlim([datetime.date(2014,1,1), datetime.date(2014,12,22)])
TypeError: descriptor 'date' for 'datetime.datetime' objects doesn't apply to a 'int' object