diff --git a/AFQ/viz/utils.py b/AFQ/viz/utils.py index cde94119..65d7fc30 100644 --- a/AFQ/viz/utils.py +++ b/AFQ/viz/utils.py @@ -472,7 +472,6 @@ def bbox(img): def trim(im): bg = Image.new(im.mode, im.size, im.getpixel((0, 0))) diff = ImageChops.difference(im, bg) - diff.getbbox this_bbox = bbox(diff) if this_bbox: return im.crop(this_bbox)