title: Adjusting tick settings on Seaborn heatmap
body: <p>I've been trying to adjust the tick settings for a heat map through several different methods with no success. The only method that actually changes the settings of the plot is <code>plt.xticks(np.arange(217, 8850, 85))</code> but even when using several different intervals for this method the data is skewed greatly to the right.</p>
  
  <p>When the tick labels aren't clumped together (for example using <code>plt.xticks(np.arange(217, 8850, 500))</code>) the last tick mark on the end of the axis is no where near the 8850 max I need to show all the data.</p>
  
  <p>I'm trying to adjust these tick settings on both the x and y in order to view the full range of data (Xmax: 8848 Xmin: 7200, Ymax: 8848 Ymin:217) with intervals that allow the tick labels to be readable.</p>
  
  <p>Images of Heatmap:</p>
  
  <p>First image is with <code>plt.xticks(np.arange(217, 8850, 500))</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/g9Xc1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/g9Xc1.png" alt="enter image description here"></a></p>
  
  <p>Second image is with <code>plt.xticks(np.arange(217, 8850, 85))</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/NRCKY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NRCKY.png" alt="enter image description here"></a></p>
  
  <p>Third is original Heatmap:</p>
  
  <p><a href="https://i.stack.imgur.com/ie5f3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ie5f3.png" alt="enter image description here"></a></p>
  
  <pre><code> color = 'seismic'
   success_rate = (m['Ascents'] / ((m['Ascents']) + (m['Failed_Attempts'])))*100
   success_rate.fillna(0).astype(float)
   mm['success_rate'] = success_rate
   mm['success_rate'].round(2)
   vm = mm.pivot("Height(m)", "Prominence(m)", "success_rate")
   cPreference = sns.heatmap(vm, vmax = 100, cmap = color, cbar_kws= {'label': 'Success Rate of Climbs (%)'})
   cPreference = cPreference.invert_yaxis()
  
  
   """Methods I've Tried"""
   plt.xticks(np.arange(217, 8850, 1000)) """&lt;&lt; Only line that actually makes visible changes but data is skewed greatly"""
  
   cPreference.xaxis.set_ticks(np.arange(mm["Height(m)"].min(), mm["Height(m)"].max(), (mm["Height(m)"].max() - \
   mm["Height(m)"].min()) / 10))
   cPreference.yaxis.set_ticks(np.arange(mm["Prominence(m)"].min(), mm["Prominence(m)"].max(), (mm["Prominence(m)"].max() \
   - mm["Prominence(m)"].min()) / 10))
  
   sns.set_style("ticks", {"xtick.major.size" : 8, "ytick.major.size" : 8})
  
   plt.title("What is a good Mountain to Climb?")
   sns.plt.show()
  </code></pre>