Wordcloud中单词之间的间距

时间:2019-12-30 13:11:10

标签: python python-3.x pandas nlp word

这是我的代码的一部分。我的字词数量有限,我想缩小字词之间的间距。我该怎么做?我无法增加字数,也无法增加min_font_size。有什么办法吗?

wordcloud = WordCloud(width = 500, height = 500, 
                 background_color ='white', 
                 stopwords = stopwords, 
                 min_font_size = 5,
                 min_words = 100).generate(result)

我可以对此部分进行哪些更改?

0 个答案:

没有答案