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.