def _single_hsv_to_rgb(hsv):
 from matplotlib.colors import hsv_to_rgb
 return hsv_to_rgb(array(hsv).reshape(1, 1, 3)).reshape(3)

def _single_hsv_to_rgb ( hsv ) : from matplotlib . colors import hsv_to_rgb return hsv_to_rgb ( array ( hsv ) . reshape ( 1 , 1 , 3 ) ) . reshape ( 3 )
transform a color from the hsv space to the rgb .