Merge pull request #378 from ben-github/develop

Fix issue with Python3 and changes in how it handles zip.
This commit is contained in:
Ogi Moore 2019-05-23 21:54:43 -07:00 committed by GitHub
commit 58ae027197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()