Skip to content

Instantly share code, notes, and snippets.

@Allwin12
Created June 13, 2020 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Allwin12/8cb9d7abe0671a5d603bfdb13a11fe18 to your computer and use it in GitHub Desktop.
Save Allwin12/8cb9d7abe0671a5d603bfdb13a11fe18 to your computer and use it in GitHub Desktop.
from wordcloud import WordCloud
import matplotlib.pyplot as plt
text = "Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and " \
"first released in 1991, Python's design philosophy emphasizes code readability with its notable use of " \
"significant whitespace."
cloud = WordCloud().generate(text)
plt.imshow(cloud)
plt.axis('off')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment