Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. from wordcloud import WordCloud
  3.  
  4. unique_string=(" ").join(articles_text)
  5. wordcloud = WordCloud(width = 1000, height = 500).generate(unique_string)
  6. plt.figure(figsize=(15,8))
  7. plt.imshow(wordcloud)
  8. plt.axis("off")
  9. plt.show()
  10. plt.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement