Merge pull request #1987 from jkotan/regiontypo
Issue 1986: fix for autoLevel of RGB histograms
This commit is contained in:
commit
b075035b0d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user