Merge pull request #1987 from jkotan/regiontypo

Issue 1986: fix for autoLevel of RGB histograms
This commit is contained in:
Ogi Moore 2021-09-08 11:22:37 -07:00 committed by GitHub
commit b075035b0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ class HistogramLUTItem(GraphicsWidget):
if autoLevel:
mn = h[0][0]
mx = h[0][-1]
self.region[i].setRegion([mn, mx])
self.regions[i].setRegion([mn, mx])
else:
# hide channels not present in image data
self.plots[i].setVisible(False)