Commit 53c40fdf by BellCodeEditor

auto save

parent d1971d4f
Showing with 2 additions and 2 deletions
import wordcloud
form PIL import Image
from PIL import Image
import numpy
......@@ -8,7 +8,7 @@ with open('python二级考试大纲.txt', encoding='utf-8') as f:
img = Image.open("bell.png")
data = numpy.array(img)
img_colors = wordcloud.ImageColorGeneratordata)
img_colors = wordcloud.ImageColorGenerator(data)
w = wordcloud.WordCloud(background_color='black',
font_path='SimHei.ttf',
......

71.5 KB | W: | H:

220 KB | W: | H:

mycold.png
mycold.png
mycold.png
mycold.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