【发布时间】:2012-07-22 01:54:02
【问题描述】:
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(决定自动调整)是错误的。
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()吗?
【问题讨论】:
标签: python matplotlib pandas