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

Parallel Coords plot causes fatal error #762

Open
martinfalk opened this issue Nov 1, 2019 · 2 comments
Open

Parallel Coords plot causes fatal error #762

martinfalk opened this issue Nov 1, 2019 · 2 comments
Assignees
Labels

Comments

@martinfalk
Copy link
Contributor

In some instances the parallel coordinate plot causes fatal errors when using a categorical column for coloring. This happens when there are more categories than colors supported by the colormap.

image

If colorbrewer does not support the number of colors, the PCP should at least deal with problem gracefully and not just let the exception pass to the main event loop!

@martinfalk
Copy link
Contributor Author

We should consider recycling colors for additional categories

@PetiteViking
Copy link
Contributor

A simple solution is to ask colorbrewer if the number of categories is supported for the selected family and of not, generate a set grayscale colors.

It's not pretty but it's failsafe.

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

No branches or pull requests

3 participants