Increase resolution with word-cloud and remove empty border

后端 未结 4 452
北海茫月
北海茫月 2020-12-23 14:06

I am using word cloud with some txt files. How do I change this example if I wanted to 1) increase resolution and 2) remove empty border.

#!/usr/bin/env pyt         


        
4条回答
  •  無奈伤痛
    2020-12-23 15:04

    Blurry wordclouds - I've been wrestling with this. For my use, I found that too large a differential in the between the most frequent word occurrences and those with few occurrences left the lower-count words unreadable. When I scaled the more frequent counts to reduce the differential, all the lower-frequency words were much more readable.

提交回复
热议问题