> Are you definately passing through datetime objects, or are you passing > through the datetime "ordinals" / Julian time?
Definitely datetime objects: if xtime: min_x = datetime.datetime(9999, 12, 31, 23, 59, 59) max_x = datetime.datetime(1970, 1, 1, 0, 0, 0) def parse_x(x): try: return dateutil.parser.parse(x) except ValueError: print >> sys.stderr, "Can't parse", repr(x), "as a timestamp." raise ... You're suggesting that I shouldn't have to do anything with formatters and locators if my X values are datetime objects? Maybe I should simply scrub any locator/formatter initialization altogether. When I first started this little tool I used a FuncFormatter which (unknown to me) performed about like the AutoDateFormatter without the "Auto" part. It simply selected the X axis format based on the range of the data. Skip ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users