minimaxir/stylecloud

Generate from frequency

xihajun opened this issue · 1 comments

Hi,

Thanks for this useful tool! May I kindly ask if it is possible to have the function generate the image from a frequency dictionary just like what wordcloud did?

Best,
Jun

oh, sorry. Here is how to do so

stylecloud.gen_stylecloud(text=yourdictionaryinputaswhatitisinwordcloud,
                          stopwords=False,
                          colors=['#ecf0f1', '#3498db', '#e74c3c'],
                          background_color='#1A1A1A')