Created
June 13, 2020 17:00
-
-
Save Allwin12/8cb9d7abe0671a5d603bfdb13a11fe18 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
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