Skip to content

Commit fa34ca1

Browse files
committed
pass px
1 parent 45fd038 commit fa34ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

structuretoolkit/visualize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _get_box_skeleton(cell: np.ndarray):
164164
# All 12 two-point lines on the unit square
165165
return all_lines @ cell
166166

167-
def _draw_box_plotly(fig, structure):
167+
def _draw_box_plotly(fig, structure, px):
168168
cell = get_cell(structure)
169169
data = fig.data
170170
for lines in _get_box_skeleton(cell):
@@ -231,7 +231,7 @@ def _plot3d_plotly(
231231
),
232232
)
233233
if show_cell:
234-
fig = _draw_box_plotly(fig, structure)
234+
fig = _draw_box_plotly(fig, structure, px)
235235
fig.layout.scene.camera.projection.type = camera
236236
rot = _get_orientation(view_plane).T
237237
rot[0, :] *= distance_from_camera * 1.25

0 commit comments

Comments
 (0)