title: How to fix inconsistent axis scales on matplotlib
body: <p>I'm saving a simple figure using the matplotlib, but I've noticed that the y-axis scale isn't consistent. Here's an example using an exaggerated data set of [100, 200, 300, 37290]</p>
  
  <p><a href="https://i.imgur.com/CS7hQoA.png" rel="nofollow noreferrer">Image of inconsistent scale</a></p>
  
  <p>I've tried both <code>matplotlib.plt.autoscale(False)</code> and <code>matplotlib.plt.autoscale(True)</code> but that doesn't seem to do anything. <code>matplotlib.plt.yscale("linear")</code> doesn't do anything either.</p>
  
  <p>I've also noticed that it's constructing the y-axis scale using each and every datapoint.</p>
  
  <p><a href="https://i.imgur.com/blzpSqo.png" rel="nofollow noreferrer">Image of crowded y-axis</a></p>
  
  <p>Is there a way to have the y-axis look like the x-axis? (ie not use every single point in the data)</p>