added setColorMap method to ImageView
This commit is contained in:
parent
f988f0522d
commit
3a50f65120
@ -718,3 +718,7 @@ class ImageView(QtGui.QWidget):
|
|||||||
self.buildMenu()
|
self.buildMenu()
|
||||||
self.menu.popup(QtGui.QCursor.pos())
|
self.menu.popup(QtGui.QCursor.pos())
|
||||||
|
|
||||||
|
def setColorMap(self, colormap):
|
||||||
|
"""Set the color map. *colormap* is an instance of ColorMap()"""
|
||||||
|
self.ui.histogram.gradient.setColorMap(colormap)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user