TypeError: float() argument must be a string or a number, not 'Date'
当我执行以下操作时出现:
plt.plot(dates,rates, linewidth=2.0) # Without date plotting works out.
日期通常是以下格式:
[
Date(11,12,2012),
Date(12,12,2012),
Date(13,12,2012),
Date(14,12,2012),
Date(15,12,2012),
Date(16,12,2012),
Date(17,12,2012),
Date(18,12,2012),
Date(19,12,2012),
Date(20,12,2012)
]