title: Relabel axis ticks in seaborn heatmap
body: <p>I have a seaborn heatmap that I am building from a matrix of values.  Each element of the matrix corresponds to an entitiy that I would like to make the tick label for each row/col in the matrix.</p>
  
  <p>I tried using the <code>ax.set_xticklabel()</code> function to accomplish this but it seems to do nothing.  Here is my code:</p>
  
  <pre><code>type(jr_matrix)
  &gt;&gt;&gt; numpy.ndarray
  
  jr_matrix.shape
  &gt;&gt;&gt; (15, 15)
  
  short_cols = ['label1','label2',...,'label15'] # list of strings with len 15
  
  fig, ax = plt.subplots(figsize=(13,10)) 
  ax.set_xticklabels(tuple(short_cols)) # i also tried passing a list
  ax.set_yticklabels(tuple(short_cols))
  sns.heatmap(jr_matrix, 
              center=0, 
              cmap="vlag", 
              linewidths=.75, 
              ax=ax,
              norm=LogNorm(vmin=jr_matrix.min(), vmax=jr_matrix.max()))
  </code></pre>
  
  <p>The still has the matrix indices as labels:</p>
  
  <p><a href="https://i.stack.imgur.com/Tmc4X.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tmc4X.png" alt="enter image description here"></a></p>
  
  <p>Any ideas on how to correctly change these labels would be much appreciated.</p>
  
  <p>Edit: I am doing this using jupyter notebooks if that matters.</p>