Commit f9a3d9b4 by BellCodeEditor

save project

parent bb7d0ea3
Showing with 2 additions and 1 deletions
import wordcloud import wordcloud
w = wordcloud.WordCloud(background_color="red"' w = wordcloud.WordCloud(background_color="white",
font_path='SimHei.ttf') font_path='SimHei.ttf')
w.generate("贝尔编程") w.generate("贝尔编程")
w.to_file("mycloud.png") w.to_file("mycloud.png")
\ No newline at end of file

665 Bytes | W: | H:

11 KB | W: | H:

mycloud.png
mycloud.png
mycloud.png
mycloud.png
  • 2-up
  • Swipe
  • Onion skin
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