Font-size of words in cloud

Asked by Nick on 2018-12-06

What determine font-size of words in cloud?

1) I see small font-size and very big font-size without middle size.
How word-count determine font-size in cloud?

2) Can maximum font-size of words in cloud be adapted to width of left panel - when user make this panel more or less large?

Xubuntu 18.10

Question information

Language:
English Edit question
Status:
Open
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Last query:
2018-12-07
Last reply:
2018-12-07
Jendrik Seipp (jendrikseipp) said : #1

1) The size is proportional to the number of word occurences.

2) I'm afraid this would be quite tricky.

Nick (nick222-yandex) said : #2

But I see in word-cloud (word-count - font-size):

word#1: 8 - very big
word#2: 7 - very small

Can I change font-size to big for word#1 and to normal for word#2 ?

Jendrik Seipp (jendrikseipp) said : #3

You would have to change the source code in gui/clouds/.py

Nick (nick222-yandex) said : #4

Can You move variables max_font_size and min_font_size for word-cloud (clouds.py lines 142 and 143) to user preferences?

Can you help with this problem?

Provide an answer of your own, or ask Nick for more information if necessary.

To post a message you must log in.