You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great little tool you have here! I wanted to add a category dimension to the basic WordCloud, and I found this easy to do with just a few slight modifications. Essentially I just added an optional int category to WordFrequency which is an integer index within the range of colors in ColorPallate and defaults to -1. If this value is greater than or equal to 0 than use this index to select the color, otherwise select one at random (the default).
Please let me know if you would like me to submit a PR with this feature, and if so, if there is a particular way you wish to have it implemented (EG perhaps with a matching frequency analyzer implementation).
Cheers, and thank you for sharing your work!
~Aaron
The text was updated successfully, but these errors were encountered:
Hi Kenny,
This is a great little tool you have here! I wanted to add a category dimension to the basic
WordCloud
, and I found this easy to do with just a few slight modifications. Essentially I just added an optionalint category
toWordFrequency
which is an integer index within the range of colors inColorPallate
and defaults to-1
. If this value is greater than or equal to0
than use this index to select the color, otherwise select one at random (the default).Please let me know if you would like me to submit a PR with this feature, and if so, if there is a particular way you wish to have it implemented (EG perhaps with a matching frequency analyzer implementation).
Cheers, and thank you for sharing your work!
~Aaron
The text was updated successfully, but these errors were encountered: