title: Seaborn tsplot does not show datetimes on x axis well
body: <p>Below I have the following script which creates a simple time series plot:</p>
  <pre><code>%matplotlib inline
  import datetime
  import pandas as pd
  import seaborn as sns
  import matplotlib.pyplot as plt
  
  fig, ax = plt.subplots()
  
  df = []
  start_date = datetime.datetime(2015, 7, 1)
  for i in range(10):
      for j in [1,2]:
          unit = 'Ones' if j == 1 else 'Twos'
          date = start_date + datetime.timedelta(days=i)
          
          df.append({
                  'Date': date.strftime('%Y%m%d'),
                  'Value': i * j,
                  'Unit': unit
              })
      
  df = pd.DataFrame(df)
  
  sns.tsplot(df, time='Date', value='Value', unit='Unit', ax=ax)
  fig.autofmt_xdate()
  </code></pre>
  <p>And the result of this is the following:</p>
  <p><img src="https://i.stack.imgur.com/shDFn.png" alt="enter image description here" /></p>
  <p>As you can see the x-axis has strange numbers for the datetimes, and not the usual &quot;nice&quot; representations that come with <code>matplotlib</code> and other plotting utilities.  I've tried many things, re-formatting the data but it never comes out clean.  Anyone know a way around?</p>