Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

category feature #92

Open
drkstr101 opened this issue Jul 14, 2020 · 0 comments
Open

category feature #92

drkstr101 opened this issue Jul 14, 2020 · 0 comments

Comments

@drkstr101
Copy link

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 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant