from pandas import *
import datetime
DataFrame([1,1], index = [ datetime.datetime(2012,1,1), datetime.datetime(2012,9,1) ] ).plot()
给出 xaxis 不可读的图. 我认为原因是在tools\plotting.py
(condition
决定autofmt)是假的。
condition = (not self._use_dynamic_x
and df.index.is_all_dates
and not self.subplots
or (self.subplots and self.sharex))
第一行不应该self._use_dynamic_x()
代替吗?