/mkcloud

Wrapper for wordcloud python module; Generate gradient-colored round word clouds with Python3!

Primary LanguagePythonMIT LicenseMIT

mkcloud License Python 3.4+

Wrapper for wordcloud python module; Generate gradient-colored round word clouds with Python3!

Usage

mkcloud(filename, dic, theme_start, theme_end)
  • filename : Filename(path) of output cloud
  • dic : Dictionary of word & word frequency (example below)
{
    'lorem': 2, 
    'ipsum': 1, 
    'dolor': 2, 
    'sit': 7, 
    'consectetur': 2, 
    (...)
}
  • theme_start : Start color of gradient
  • theme_end : End color of gradient

See Also