title: Creating 3D surface plots using in Plotly
body: <p>I am trying to create a 3D surface plot using three 1D arrays of floats in Plotly. This is what my data looks like:</p>
  <pre><code>    alpha_1 alpha_2   sse
  0   0.01    0.01    4.817321e+07
  1   0.01    0.11    4.854821e+07
  2   0.01    0.21    4.864922e+07
  3   0.01    0.31    4.869423e+07
  4   0.01    0.41    4.870884e+07
  ... ... ... ...
  95  0.91    0.51    4.859500e+07
  96  0.91    0.61    4.857550e+07
  97  0.91    0.71    4.855622e+07
  98  0.91    0.81    4.853898e+07
  99  0.91    0.91    4.852403e+07
  </code></pre>
  <p>I want to create a surface plot that basically mimics this 3d plot.
  This is the code I am using to generate the 3D plot: <a href="https://i.stack.imgur.com/tMgY7.png" rel="nofollow noreferrer"> see here 3D plot I want to make as surface plot</a></p>
  <pre><code>x = np.asarray(surface_df['alpha_1'])
  y = np.asarray(surface_df['alpha_2'])
  z = np.asarray(surface_df['sse'])
  
  fig = plt.figure()
  ax = plt.axes(projection=&quot;3d&quot;)
  ax.scatter3D(x, y, z, c=z);
  plt.show()
  </code></pre>
  <p>But this is the surface plot I am getting with Plotly.
  <a href="https://i.stack.imgur.com/YyH4Z.png" rel="nofollow noreferrer">Surface plot from Plotly.</a></p>
  <p>This is the code I am using for plotly.</p>
  <pre><code>fig = go.Figure(data=[go.Surface(x=surface_df['alpha_1'].values,y=surface_df['alpha_2'].values,z=surface_df[['alpha_1','sse','alpha_2']].values)])
  
  fig.update_layout(title='plot', autosize=True,
                    width=500, height=500)
  fig.show()
  </code></pre>
  <p>Any pointers would be appreciated, thanks!</p>