Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Choose Your Own Order for violinPlots. #745

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

Closed
PynutCommander opened this issue Apr 29, 2017 · 3 comments
Closed

Choose Your Own Order for violinPlots. #745

PynutCommander opened this issue Apr 29, 2017 · 3 comments

Comments

@PynutCommander
Copy link

i was facing an issue that violin plot categories was forced in alphabetical order, i suggest a small fix that can stop this problem. inside _violin.py we add an extra variable that is set to False, call it forced order. if the user set it to True then it will not sort the categories and will use the order that the user input his violin categories as explicitly.
here is the function call with the added variable (forcedOrder):
http://imgur.com/s4rc4pz
here is the check that ignored the sort and uses the user order:
http://imgur.com/b7uGgps
Thank you.

@Kully
Copy link
Contributor

Kully commented May 16, 2017

@PynutCommander Great idea. I'll make a PR to fix this problem. Thanks.

@Kully
Copy link
Contributor

Kully commented May 18, 2017

Closing as issue is solved.

@Kully Kully closed this as completed May 18, 2017
@Kully
Copy link
Contributor

Kully commented May 18, 2017

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

2 participants