title: How to increase size of saved figure while keeping aspect ratio
body: <p>I'm plotting data and saving it to a file.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  fig=plt.figure(figsize=(10,10))
  plt.gca().set_aspect(1)
  plt.scatter(range(10), range(0,20,2))
  fig.savefig("test.jpg")
  </code></pre>
  
  <p>Is there an easy way to make the figure size larger, but without having to guess height/width values to keep aspect ratio as the axis?</p>
  
  <p>It would be even harder if I had multiple subplots and I want to keep their fixed axis ratios. I want to control the figure size (scale), but not introduce empty borders in the figure.</p>