Fix: make HistogramLUTWidget obey default background color
This commit is contained in:
parent
5bb5c7487c
commit
70ec358995
@ -13,7 +13,7 @@ __all__ = ['HistogramLUTWidget']
|
||||
class HistogramLUTWidget(GraphicsView):
|
||||
|
||||
def __init__(self, parent=None, *args, **kargs):
|
||||
background = kargs.get('background', 'k')
|
||||
background = kargs.get('background', 'default')
|
||||
GraphicsView.__init__(self, parent, useOpenGL=False, background=background)
|
||||
self.item = HistogramLUTItem(*args, **kargs)
|
||||
self.setCentralItem(self.item)
|
||||
|
Loading…
Reference in New Issue
Block a user