ggwordcloud icon indicating copy to clipboard operation
ggwordcloud copied to clipboard

Fit to plot area

Open khkk378 opened this issue 3 years ago • 2 comments

Hi! Thanks for a very nice package. I wonder if there is a way to get the figure to fit to the plot area without adjusting max_size. There must be many applications where the number of terms and their relative sizes/lengths isn't known beforehand (in Shiny apps and so on).

khkk378 avatar Jan 22 '22 18:01 khkk378

Hi again, if this is not possible, maybe you could expose a function that returns the positions, sizes and angles for the labels? I think that would be broadly useful.

khkk378 avatar Jan 26 '22 09:01 khkk378

Very Interesting suggestion. I may be able to do something like this as soon as I have the time (which is unfortunately not right now...)

lepennec avatar Jan 26 '22 14:01 lepennec