forked from IPKM/nmreval
fitresult window is reused and remembers fitplot range/log; closes #65
add color to sub-functions in fit result window Fitresult window shows one set at a time, more space for plot; closes #66
This commit is contained in:
@ -58,7 +58,7 @@ class RdBuCMap:
|
||||
elif val < self.min:
|
||||
col = QtGui.QColor.fromRgb(*RdBuCMap._rdbu[-1])
|
||||
else:
|
||||
col = QtGui.QColor.fromRgbF(*(float(self.spline[i](val)) for i in range(3)))
|
||||
col = QtGui.QColor.fromRgb(*(int(self.spline[i](val)) for i in range(3)))
|
||||
|
||||
return col
|
||||
|
||||
|
Reference in New Issue
Block a user