title: Seaborn heatmap, custom tick values
body: <p>I plotting a pandas dataframe to a seaborn heatmap, and I would like to set specific y-axis ticks for specific locations.</p>
  
  <p>My dataframe index is 100 rows which corresponds to a "depth" parameter, but the values in this index are not arranged with a nice interval :
  <a href="https://i.stack.imgur.com/GgrSj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GgrSj.png" alt="enter image description here"></a>
  I would like to set tick labels at multiples of 100. I can do this fine using :</p>
  
  <pre><code>yticks = np.linspace(10,100,10)
  ylabels = np.linspace(100,1000,10)
  </code></pre>
  
  <p>for my dataframe which has 100 rows, with values from approx 100 - 1000, but the result is clearly not desirable, as the position of the tick labels clearly do not correspond to the correct depth values (index <em>value</em>), only the position in the index.  <a href="https://i.stack.imgur.com/Jkp3B.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Jkp3B.png" alt="enter image description here"></a></p>
  
  <p>How can I produce a heatmap where the plot is warped so that the actual depth values (index <em>values</em>) are aligned with the ylabels I am setting?</p>
  
  <p>A complicating factor for this is also that the index values are not sampled linearly...</p>