Fix issue with Python3 and changes in how it handles zip.
This commit is contained in:
parent
5195d9dd63
commit
cf2329b75e
@ -141,7 +141,7 @@ class ColorMap(object):
|
||||
|
||||
pos, color = self.getStops(mode=self.BYTE)
|
||||
color = [QtGui.QColor(*x) for x in color]
|
||||
g.setStops(zip(pos, color))
|
||||
g.setStops(list(zip(pos, color)))
|
||||
|
||||
#if self.colorMode == 'rgb':
|
||||
#ticks = self.listTicks()
|
||||
|
Loading…
Reference in New Issue
Block a user