Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

How to draw a word cloud?

cloud.png

The wordcloud library draws word clouds from a string of words. It allows to create clouds in arbitrary shapes, using a NumPy array as a mask.

Install the library with:

pip install wordcloud

Then create the cloud image:

.. literalinclude:: create_wordcloud.py

.. seealso::

    `amueller.github.io/word_cloud/ <https://amueller.github.io/word_cloud/>`__