title: How can I set the aspect ratio in matplotlib?
body: <p>I'm trying to make a square plot (using imshow), i.e. aspect ratio of 1:1, but I can't. None of these work:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  ax = fig.add_subplot(111,aspect='equal')
  ax = fig.add_subplot(111,aspect=1.0)
  ax.set_aspect('equal')
  plt.axes().set_aspect('equal')
  </code></pre>
  
  <p>It seems like the calls are just being ignored (a problem I often seem to have with matplotlib).</p>