hsv2rgb#

class hsv2rgb(colors=None)[source]#

Shortcut to Matplotlib’s hsv_to_rgb method, accepts a color triplet or a list/array of color triplets.

Example:

rgb = sc.hsv2rgb([0.23, 0.80, 0.74]) # Returns array([0.51504, 0.74   , 0.148  ])