Merge pull request #378 from ben-github/develop
Fix issue with Python3 and changes in how it handles zip.
This commit is contained in:
commit
58ae027197
@ -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