from wordcloud import WordCloud
wordcloud = WordCloud(width=900, height=600, random_state=21, max_font_size=110, background_color='ghostwhite',
max_words=200,colormap='Dark2').generate(all_words)
plt.figure(figsize=(12, 8))
plt.imshow(wordcloud, interpolation="bilinear")
plt.axis('off')
plt.show()
ERROR: AttributeError: 'TransposedFont' object has no attribute 'getbbox'
It used to work before not it doesn't. Please advice.
I have given an option to run it somewhere other than your own problematic system, see below.
Here is the minimal, complete reproducible example I used based on your incomplete block and the post like yours from a few hours earlier:
The place and steps I suggested running that code above is described by this comment I posted below the original post: