Skip to content

Commit a0bd757

Browse files
committed
fix: Error when plotting grains in the inspector
1 parent b295b04 commit a0bd757

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

defdap/inspector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def redraw_line(self):
331331
# Draw slip bands
332332
bands = [elem[1] for elem in self.selected_dic_grain.groups_list]
333333
if self.selected_dic_grain.groups_list != None:
334-
slipPlot.add_slip_bands(top_only=True, angles=list(np.deg2rad(bands)))
334+
slipPlot.add_traces(list(np.deg2rad(bands)), ["black"], top_only=True)
335335

336336
def run_rdr_group(self,
337337
event: int,

0 commit comments

Comments
 (0)