Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- from wordcloud import WordCloud
- unique_string=(" ").join(articles_text)
- wordcloud = WordCloud(width = 1000, height = 500).generate(unique_string)
- plt.figure(figsize=(15,8))
- plt.imshow(wordcloud)
- plt.axis("off")
- plt.show()
- plt.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement