yejunliang23 commited on
Commit
625315a
·
verified ·
1 Parent(s): 3efe928

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -287,6 +287,8 @@ def make_pointcloud_figure(verts,rotate=False):
287
  if rotate:
288
  verts = verts.copy()
289
  verts[:, 0] *= -1.0
 
 
290
  N = len(verts)
291
  soft_palette = ["#FFEBEE", "#FFF3E0", "#FFFDE7", "#E8F5E9",]
292
  palette = px.colors.qualitative.Set3
@@ -312,8 +314,9 @@ def make_pointcloud_figure(verts,rotate=False):
312
  line=dict(width=1)
313
  )
314
  )
 
315
  layout = go.Layout(
316
- width =400,
317
  height=300,
318
  scene=dict(
319
  xaxis=dict(visible=False, range=[-0.6,0.6]),
 
287
  if rotate:
288
  verts = verts.copy()
289
  verts[:, 0] *= -1.0
290
+ print(verts.shape,verts.min(),verts.max())
291
+ print(verts)
292
  N = len(verts)
293
  soft_palette = ["#FFEBEE", "#FFF3E0", "#FFFDE7", "#E8F5E9",]
294
  palette = px.colors.qualitative.Set3
 
314
  line=dict(width=1)
315
  )
316
  )
317
+ print(scatter)
318
  layout = go.Layout(
319
+ width =800,
320
  height=300,
321
  scene=dict(
322
  xaxis=dict(visible=False, range=[-0.6,0.6]),