We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b59ba commit 29f5eeaCopy full SHA for 29f5eea
structuretoolkit/visualize.py
@@ -165,7 +165,7 @@ def _get_box_skeleton(cell: np.ndarray):
165
return all_lines @ cell
166
167
168
-def _draw_box_plotly(fig, structure, px):
+def _draw_box_plotly(fig, structure, px, go):
169
cell = structure.cell
170
data = fig.data
171
for lines in _get_box_skeleton(cell):
@@ -233,7 +233,7 @@ def _plot3d_plotly(
233
),
234
)
235
if show_cell:
236
- fig = _draw_box_plotly(fig, structure, px)
+ fig = _draw_box_plotly(fig, structure, px, go)
237
fig.layout.scene.camera.projection.type = camera
238
rot = _get_orientation(view_plane).T
239
rot[0, :] *= distance_from_camera * 1.25
0 commit comments