Commit 0061de24 by BellCodeEditor

auto save

parent 687f995d
Showing with 1 additions and 1 deletions
......@@ -11,7 +11,7 @@ data=numpy.array(img)
img_colors=wordcloud.ImageColorGenerator(data)
stopword=["的","python","和","基本","程序"]
w=wordcloud.WordCloud(background_color="wuhikte",font_path='SimHei.ttf',mask=data,color_func=img_colors,stopwords=stopwords,max_font_size=60)
w=wordcloud.WordCloud(background_color="white",font_path='SimHei.ttf',mask=data,color_func=img_colors,stopwords=stopword,max_font_size=60)
w.generate(text)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment