Loading src/imars3d/backend/morph/crop.py +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ class crop(param.ParameterizedFunction): if arrays.ndim == 2: return arrays[top:bottom, left:right] elif arrays.ndim == 3: return arrays[:, top:bottom, left:right].copy() # return a copy instead of a view return arrays[:, top:bottom, left:right] def detect_bounds( Loading Loading
src/imars3d/backend/morph/crop.py +1 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,7 @@ class crop(param.ParameterizedFunction): if arrays.ndim == 2: return arrays[top:bottom, left:right] elif arrays.ndim == 3: return arrays[:, top:bottom, left:right].copy() # return a copy instead of a view return arrays[:, top:bottom, left:right] def detect_bounds( Loading