Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def wordClouds(teks) :
- wc = WordCloud(background_color="white")
- wordcloud = wc.generate(teks)
- plt.figure(num=1, facecolor='w', edgecolor='k')
- plt.imshow(wordcloud, cmap=plt.cm.jet, interpolation="bilinear", aspect='auto'); plt.xticks(()); plt.yticks(())
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement