Używam plików word cloud z niektórymi plikami txt. Jak zmienić this example, jeśli chcę 1) zwiększyć rozdzielczość i 2) usunąć pustą granicę.Zwiększ rozdzielczość za pomocą chmury słów i usuń pustą granicę
#!/usr/bin/env python2
"""
Minimal Example
===============
Generating a square wordcloud from the US constitution using default arguments.
"""
from os import path
import matplotlib.pyplot as plt
from wordcloud import WordCloud
d = path.dirname(__file__)
# Read the whole text.
text = open(path.join(d, 'constitution.txt')).read()
wordcloud = WordCloud().generate(text)
# Open a plot of the generated image.
plt.imshow(wordcloud)
plt.axis("off")
plt.show()