Re: [Matplotlib-users] x axis alignment with bar graph

2008-01-16 Thread John Harrison
Thanks Eric! Here is corrected code that works: import matplotlib from datetime import * import time from pylab import * def toOrd(strDate): return datetime(*time.strptime(strDate,"%m/%d/%y")[0:5]).toordinal() def main(): startDate = toOrd("05/24/05") endDate =

Re: [Matplotlib-users] x axis alignment with bar graph

2008-01-16 Thread Eric Firing
John Harrison wrote: > bump. please...? > > Begin forwarded message: >> >> I have some code that produces a series of graphs of data over time. >> For the most part it works well, but for certain combinations of dates >> the two plots do not line up, due to the width of the bars in the >> fir