human
Here's a good function header given the following:
I wrote the below code

    def get_color_function(p0, p1):
        def color(x):
            xg = (x ** gamma)
            a = (((h * xg) * (1 - xg)) / 2)
            phi = ((2 * np.pi) * ((s / 3) + (r * x)))
            return (xg + (a * ((p0 * np.cos(phi)) + (p1 * np.sin(phi)))))
        return color
    return {u'red': get_color_function((-0.14861), 1.78277), u'green': get_color_function((-0.29227), (-0.90649)), u'blue': get_color_function(1.97294, 0.0)}

What's a good function header?
assistant
#Here's a good function header.

def cubehelix(gamma=1.0, s=0.5, r=(-1.5), h=1.0):