diff --git a/pyqtgraph/graphicsItems/ROI.py b/pyqtgraph/graphicsItems/ROI.py index 52aecd9dab..76bb40c466 100644 --- a/pyqtgraph/graphicsItems/ROI.py +++ b/pyqtgraph/graphicsItems/ROI.py @@ -1196,7 +1196,6 @@ def _getArrayRegionForArbitraryShape(self, data, img, axes=(0,1), returnMappedCo See :meth:`~pyqtgraph.ROI.getArrayRegion` for a description of the arguments. """ - br = self.boundingRect() if returnMappedCoords: sliced, mappedCoords = ROI.getArrayRegion( self, data, img, axes, returnMappedCoords, fromBoundingRect=True, **kwds)