title: python pandas timeseries plots, how to set xlim and xticks outside ts.plot()?
body: <pre><code>fig = plt.figure()
  ax = fig.gca()
  ts.plot(ax=ax)
  </code></pre>
  
  <p>I know I can set xlim inside pandas plotting routine: ts.plot(xlim = ...), but how to change it after pandas plotting is done?</p>
  
  <pre><code>ax.set_xlim(( t0.toordinal(), t1.toordinal() )
  </code></pre>
  
  <p>works sometimes, but if pandas is formatting the xaxis as months from epoch, not days, this will fail hard.</p>
  
  <p>Is there anyway to know how pandas has converted the dates to xaxis and then convert my xlim in the same way?</p>
  
  <p>Thanks.</p>