title: How to express classes on the axis of a heatmap in Seaborn
body: <p>I created a very simple heatmap chart with Seaborn displaying a similarity square matrix. Here is the one line of code I used:</p>
  
  <pre><code>sns.heatmap(sim_mat, linewidths=0, square=True, robust=True)
  sns.plt.show()
  </code></pre>
  
  <p>and this is the output I get:</p>
  
  <p><img src="https://i.stack.imgur.com/vMrGt.png" alt="enter image description here"></p>
  
  <p>What I'd like to do is to represent on the x and y axis not the labels of my instances but a colored indicator (imagine something like a small palplot on each axis) where each color represents another variable associated to each instance (let's say I have this info stored a list named <code>labels</code>) plus another legend for this kind of information next to the one specifying the colors of the heatmap (one like that for the <code>lmplot</code>). It is important that the two informations have different color palettes.</p>
  
  <p>Is this possible in Seaborn?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>What I am looking for is a <code>clustermap</code> as correctly suggested. </p>
  
  <pre><code>sns.clustermap(sim_mat, row_colors=label_cols, col_colors=label_cols
      row_cluster=False, col_cluster=False)
  </code></pre>
  
  <p>Here is what I am getting btw, the dots and lines are too small and I do not see  a way to enlarge them in the documentation. I'd like to </p>
  
  <p>Plus, how can I add a legend and put the two one next to the other in the same position?</p>
  
  <p><img src="https://i.stack.imgur.com/dnfLM.png" alt="enter image description here"></p>