weird behavior with autoscaling

Hi. I'm trying to graph the progress of a small software project over
time. My program, and a sample data file, are attached. If I call
ax.autoscale_view(), I get labels on my X axis, but the graph runs from
2002 to 2006, even though my data is only for Oct and Nov of 2004. If I
comment out the autoscale_view() call, I get a much more reasonable range,
but lose the ticks on the axis. What am I doing wrong?

Greg (2.9 KB)

progress.txt (337 Bytes)