API Reference

All functionality is encapsulated in the WordCloud class.

WordCloud([font_path, width, height, …])

Word cloud object for generating and drawing.

ImageColorGenerator(image[, default_color])

Color generator based on a color image.

random_color_func([word, font_size, …])

Random hue color generation.

get_single_color_func(color)

Create a color function which returns a single hue and saturation with.