jens commited on
Commit
25335fc
·
1 Parent(s): a71e487
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -177,7 +177,7 @@ def PCL3(image):
177
  sizes = np.zeros(colors.shape)
178
  sizes[:] = 0.01
179
  #ax = Axes3D(fig)
180
- data = {'x': points[:, 0], 'y': points[:, 1], 'z': points[:, 2], 'sizes': sizes}
181
  df = pd.DataFrame(data)
182
  # Step 6: Create a 3D scatter plot using Plotly Express
183
  fig = px.scatter_3d(df, x='x', y='y', z='z', color=colors, size="sizes")
 
177
  sizes = np.zeros(colors.shape)
178
  sizes[:] = 0.01
179
  #ax = Axes3D(fig)
180
+ data = {'x': points[:, 0], 'y': points[:, 1], 'z': points[:, 2], 'sizes': sizes[:, 0]}
181
  df = pd.DataFrame(data)
182
  # Step 6: Create a 3D scatter plot using Plotly Express
183
  fig = px.scatter_3d(df, x='x', y='y', z='z', color=colors, size="sizes")