wordcloud.get_single_color_func¶
-
wordcloud.
get_single_color_func
(color)[source]¶ Create a color function which returns a single hue and saturation with. different values (HSV). Accepted values are color strings as usable by PIL/Pillow.
>>> color_func1 = get_single_color_func('deepskyblue') >>> color_func2 = get_single_color_func('#00b4d2')