title: Show dates on seaborn heatmap
body: <p>I am trying to create a heat map from pandas dataframe using seaborn library. Here, is the code:</p>
  
  <pre><code>test_df = pd.DataFrame(np.random.randn(367, 5), 
                   index = pd.DatetimeIndex(start='01-01-2000', end='01-01-2001', freq='1D'))
  
  ax = sns.heatmap(test_df.T)
  ax.xaxis.set_major_locator(mdates.MonthLocator())
  ax.xaxis.set_minor_locator(mdates.DayLocator())
  ax.xaxis.set_major_formatter(mdates.DateFormatter('%b'))
  ax.xaxis.set_minor_formatter(mdates.DateFormatter('%d'))
  </code></pre>
  
  <p>However, I am getting a figure with nothing printed on the x-axis.</p>
  
  <p><a href="https://i.stack.imgur.com/fSoAI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fSoAI.png" alt="enter image description here"></a></p>