diff --git a/visram/app.py b/visram/app.py index 3a76f0f..67a0743 100644 --- a/visram/app.py +++ b/visram/app.py @@ -174,7 +174,7 @@ def drawWedge(self, color, theta1, theta2, radius1, radius2, pid, # move back down to starting corner, closing path path.arcTo(innerRect, theta2, theta1 - theta2) - brush = QtGui.QBrush(QtGui.QColor(*(c * 255 for c in color))) + brush = QtGui.QBrush(QtGui.QColor.fromRgbF(*(color))) item = ProcessWedge(pid, path) item.setPen(QtGui.QPen(QtCore.Qt.NoPen))