title: Can't create 3d surface with dataframe plot_ly
body: <p>I have been trying to create a 3d surface with plotly but I couldn't. What I did is the following:</p>
  
  <pre><code>dataf &lt;- data.frame(x=as.numeric(1:50), y=as.numeric(1:50), z=as.numeric(1:5))
  </code></pre>
  
  <p>And then</p>
  
  <pre><code>plot_ly() %&gt;% add_trace(data = dataf,  x=dataf$x, y=dataf$y, z=dataf$z, type="mesh3d" ) 
  </code></pre>
  
  <p>But the problem is that it prints me an empty graph.</p>
  
  <p><a href="https://i.stack.imgur.com/GmQKS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GmQKS.png" alt="enter image description here"></a></p>
  
  <p>Any help is appreciated.</p>