title: Plotly, same scale for x and y axis
body: <p>I am using plotly for python and I can't set <code>x</code> and <code>y</code> axis so they could have the same scale:</p>
  
  <p>Here is my layout: </p>
  
  <pre class="lang-py prettyprint-override"><code>layout = Layout(
      xaxis=XAxis(
          range=[-150, 150],
          showgrid=True,
          zeroline=True,
          showline=True,
          gridcolor='#bdbdbd',
          gridwidth=2,
          zerolinecolor='#969696',
          zerolinewidth=4,
          linecolor='#636363',
          linewidth=6
      ),
      yaxis=YAxis(
          range=[-150,150],
          showgrid=True,
          zeroline=True,
          showline=True,
          gridcolor='#bdbdbd',
          gridwidth=2,
          zerolinecolor='#969696',
          zerolinewidth=4,
          linecolor='#636363',
          linewidth=6
      )
  )
  </code></pre>
  
  <p>And then I get something like this!</p>
  
  <p><img src="https://i.stack.imgur.com/R0Iun.png" alt="enter image description here"></p>
  
  <p>Why is the scale is different for x and y? that will affect my visualization.</p>
  
  <p>How can I get a grid with a square cells? </p>