Skip to content

Commit

Permalink
Merge pull request pyqtgraph#2285 from sasha-sem/pyqtgraph#2283-fix-w…
Browse files Browse the repository at this point in the history
…idth-limit

pyqtgraph#2283 delete limitation by rectangle width
  • Loading branch information
j9ac9k committed May 1, 2022
2 parents 6f6e86e + f084a88 commit 4ef3762
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pyqtgraph/graphicsItems/ROI.py
Expand Up @@ -1196,9 +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 br.width() > 1000:
raise Exception()
if returnMappedCoords:
sliced, mappedCoords = ROI.getArrayRegion(
self, data, img, axes, returnMappedCoords, fromBoundingRect=True, **kwds)
Expand Down

0 comments on commit 4ef3762

Please sign in to comment.