derek-thomas HF staff commited on
Commit
fa674bb
1 Parent(s): c75e2e7

No dragmode

Browse files
Files changed (1) hide show
  1. utilities/visualize.py +4 -3
utilities/visualize.py CHANGED
@@ -44,9 +44,10 @@ def visualize_disc(stl_mesh, nose, roll):
44
 
45
  fig.update_layout(
46
  scene=dict(
47
- xaxis=dict(nticks=4, range=[-0.11, 0.11], fixedrange=True),
48
- yaxis=dict(nticks=4, range=[-0.11, 0.11], fixedrange=True),
49
- zaxis=dict(nticks=4, range=[-0.11, 0.11], fixedrange=True), )
 
50
  )
51
  return fig
52
 
 
44
 
45
  fig.update_layout(
46
  scene=dict(
47
+ dragmode=False,
48
+ xaxis=dict(nticks=4, range=[-0.11, 0.11], ),
49
+ yaxis=dict(nticks=4, range=[-0.11, 0.11], ),
50
+ zaxis=dict(nticks=4, range=[-0.11, 0.11], ), )
51
  )
52
  return fig
53