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

Added Color functionality #10

Closed

Conversation

siddarth-patil
Copy link
Contributor

Added a additional feature so that users can specify the desired color for each category. Have kept this feature "item_color" as an optional attribute to the "barplot" class. Here "item_color" is a column in the data which specifies color to each category.

If user doesn't use this attribute then the random allocation takes place.

Have added the example code the working GIF in the "example/color" directory.

Have made the necessary changes to the "readme" file also.

added a optional attribute to "barplot" called "item_color" to give the ability to user to specify their own color if they want to.
Added GIF of the working example with specified colors for categories.
Added the color example with code and GIF under "example directory.

Also updated the readme file with the necessary changes
Added numpy dependancy
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

Successfully merging this pull request may close these issues.

1 participant