title: Seaborn heatmap: swap X and Y axes
body: <p>I am trying to swap X and Y axes on a Seaborn heatmap.</p>
  
  <p>Background:
  I have a Pandas dataframe, where the indices are timestamps. When I do </p>
  
  <pre><code>df_all = pd.read_csv(args.input)
  df_all.set_index(df_all['Timestamp'])
  ax = seaborn.heatmap(df_all, linewidth=0.5)
  plt.show()
  </code></pre>
  
  <p>I get a heatmap (yay!) but with the timestamps on Y, and data items on X.</p>
  
  <p>I will be plotting 8 similar heatmaps using the same timestamps (and a lot of other matplotlib with X-axis timestamps), so I'd like to align the timestamps on X-axis, and keep the data items (column labels 0-511) on Y. How can I swap X and Y axes? I don't find anything on the Seaborn documentation to indicate how.</p>