Wrapper for wordcloud python module; Generate gradient-colored round word clouds with Python3!
mkcloud(filename, dic, theme_start, theme_end)
filename
: Filename(path) of output clouddic
: Dictionary of word & word frequency (example below)
{
'lorem': 2,
'ipsum': 1,
'dolor': 2,
'sit': 7,
'consectetur': 2,
(...)
}
theme_start
: Start color of gradienttheme_end
: End color of gradient
- Color gradients uploaded on gist by RoboDonut :
linear_gradient()
was used in this source- Original post on blog by bsouthga
- Word_cloud by amueller : Greatest wordcloud module ever!
- Google Noto Fonts by Google(SIL Open Font License 1.1) : This module uses the font NotoSansCJKkr-Regular