def color(self, weight):
        weight = min(max(weight, 0.0), 1.0)

        hmin, smin, lmin = self.mincolor
        hmax, smax, lmax = self.maxcolor

        h = hmin + weight*(hmax - hmin)
        s = smin + weight*(smax - smin)
        l = lmin + weight*(lmin - lmax)

        return self.hsl_to_rgb(h, s, l)
dataset/ETHPy150Open binaryage/firelogger.py/gprof2dot.py/Theme.color/swapped operands of `-`