Th current margin approach means there is a margin inside the mask, which is not great.
Maybe dilate the image as in https://github.com/SalvaEB/mask_word_cloud, but that doesn't seem great for fine details :-/
I would like to work on this issue. I am a Masters student in BITS Pilani. It would be really helpful if I could get some kind of approval from the owner/author.
Th current margin approach means there is a margin inside the mask, which is not great. Maybe dilate the image as in https://github.com/SalvaEB/mask_word_cloud, but that doesn't seem great for fine details :-/