Last active
July 11, 2019 12:12
-
-
Save focaalvarez/6b07b48b1cf8853e6af84b6211eb01b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#create word cloud | |
wordcloud = WordCloud(max_words=150, background_color="white",stopwords=stopwords,normalize_plurals=False).generate(text) | |
plt.figure(dpi=500) | |
plt.imshow(wordcloud, interpolation="bicubic") | |
plt.axis("off") | |
plt.show() | |
wordcloud.to_file("pub_wordcloud.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment