def _default_controls(ncolors):
 return np.linspace(0.0, 1.0, ncolors)

def _default_controls ( ncolors ) : return np . linspace ( 0.0 , 1.0 , ncolors )
generate linearly spaced control points from a set of colors .