title: Changing aspectratio of scatter3d plot
body: <p>Whenever I try to make a scatter3d plot using plotly, I get a square plot area (1x1x1).</p>
  <p>Lets say I want a different aspect-ratio. Fixed to 1x1x2 or even data driven. How is this done?</p>
  <p>I can read that this is supposed to be changed like this:</p>
  <pre><code>fig = plot_ly(df) %&gt;%
  add_trace(x = ~x, y = ~y, z = ~z, type = &quot;scatter3d&quot;, mode = &quot;markers&quot;, size = 1) %&gt;%
  layout(aspectmode = &quot;data&quot;)
  </code></pre>
  <p>However I get an error saying aspectmode is not an attribute of layout.</p>
  <p>What am I doing wrong?</p>