title: Matplotlib x-axis overcrowded label rendering
body: <p>I'm trying to simply plot a numpy array but I'm having troubles, especially with getting the number of ticks and labels right on the x-axis.</p>
  
  <p>I'm dealing with an array named percents that looks like this:</p>
  
  <pre><code>percents:
  
  -74    0.000041
  -61    0.000041
  -60    0.000041
  -59    0.000041
  -57    0.000041
  ...
   71    0.000041
   73    0.000041
   75    0.000041
   77    0.000041
   80    0.000081
  </code></pre>
  
  <p>The range of the index is from -74 to 80 and the values themselves are from near 0 to a high of 70 (occurs around indexes near zero). </p>
  
  <p>When I simply plot this array using Seaborn barplots, I get a nightmare on the x-axis.</p>
  
  <pre><code>categ = percents.index.tolist()
  vals = percents.values.tolist()
  
  fig = plt.figure(figsize = (8,6))
  ax = fig.add_subplot(111)
  
  sns.barplot(categ, vals)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/jOmYz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jOmYz.png" alt="enter image description here"></a></p>
  
  <p>Wanting to perhaps use <code>xticks</code> to solve this, I tried adding this code, which makes it even worse, actually:</p>
  
  <pre><code>plt.xticks(np.arange(-80,80,10), np.arange(-80,80,10))
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qcwWB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qcwWB.png" alt="enter image description here"></a></p>
  
  <p>How can I fix this?</p>