Skip to content

Commit 43b59ba

Browse files
committed
replace get_cell which is not defined in this PR
1 parent 97611e8 commit 43b59ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structuretoolkit/visualize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def _get_box_skeleton(cell: np.ndarray):
166166

167167

168168
def _draw_box_plotly(fig, structure, px):
169-
cell = get_cell(structure)
169+
cell = structure.cell
170170
data = fig.data
171171
for lines in _get_box_skeleton(cell):
172172
fig = px.line_3d(**{xx: vv for xx, vv in zip(["x", "y", "z"], lines.T)})

0 commit comments

Comments
 (0)