title: Plotting a large point cloud using plotly produces a blank graph
body: <p>Plotting a fairly large point cloud in python using plotly produces a graph with axes (not representative of the data range) and no data points.</p>
  
  <p>The code:</p>
  
  <pre><code>import pandas as pd
  import plotly.express as px
  import numpy as np
  
  
  all_res = np.load('fullshelf4_11_2019.npy' )
  
  all_res.shape
  </code></pre>
  
  <blockquote>
    <p>(3, 6742382)</p>
  </blockquote>
  
  <pre><code>np.max(all_res[2])
  </code></pre>
  
  <blockquote>
    <p>697.5553566696478</p>
  </blockquote>
  
  <pre><code>np.min(all_res[2])
  </code></pre>
  
  <blockquote>
    <p>-676.311654692491</p>
  </blockquote>
  
  <pre><code>frm = pd.DataFrame(data=np.transpose(all_res[0:, 0:]),columns=["X", "Y", "Z"])
  fig = px.scatter_3d(frm, x='X', y='Y', z='Z')
  fig.update_traces(marker=dict(size=4))
  fig.update_layout(margin=dict(l=0, r=0, b=0, t=0))
  fig.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/90Flb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/90Flb.png" alt="blank plot produced by plotly"></a></p>
  
  <p>Alternatively you could generate random data and follow the process through</p>
  
  <pre><code>all_res = np.random.rand(3, 6742382)
  </code></pre>
  
  <p>Which also produces a blank graph with a axis scales that are incorrect.</p>
  
  <p>So -- what am I doing wrong, and is there a better way to plot such a moderately large data set?</p>
  
  <p>Thanks for your help!</p>