def make_color_dict(start_name, start_hsv, end_name, end_hsv, n):
 colors = linear_gradient(start_hsv, end_hsv, n)
 names = [('%sto%s%s_%s' % (start_name, end_name, n, i)) for i in range(n)]
 return dict(zip(names, colors))

def make_color_dict ( start_name , start_hsv , end_name , end_hsv , n ) : colors = linear_gradient ( start_hsv , end_hsv , n ) names = [ ( '%sto%s%s_%s' % ( start_name , end_name , n , i ) ) for i in range ( n ) ] return dict ( zip ( names , colors ) )
makes dict of color gradient .