Reputation: 99
I am trying to create wordcloud in python 3 with wordcloud package library.
The problem is that I get the rectangular images instead of words because I want to do it on Georgian words, not English.
Does anyone know how to fix this problem? I wonder if something can be done with indicating Georgian fonts.
Thank you.
Upvotes: 2
Views: 174
Reputation: 1
Here is what really helped me; first, check that font is installed on your computer. Then, add this to your wordcloud:
wordcloud = WordCloud(
***
,font_path='C:\\Windows\\Fonts\\***....ttf''
).generate(df)
Upvotes: 0