Commit c932160f by BellCodeEditor

save project

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

7.58 KB | 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