Skip to content

Can't set parcoords color array as strings #3793

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
slishak opened this issue Apr 19, 2019 · 3 comments
Closed

Can't set parcoords color array as strings #3793

slishak opened this issue Apr 19, 2019 · 3 comments
Labels
feature something new

Comments

@slishak
Copy link

slishak commented Apr 19, 2019

Potentially related to #3595

I adapted the codepen from there, setting the color array to a list of strings, but they all come up as black:

https://codepen.io/anon/pen/OGZzXG?editors=1010

@etpinard
Copy link
Contributor

That's correct, parcoords only support numeric colorscales at the moment.

@etpinard etpinard added the feature something new label Apr 22, 2019
@archmoj archmoj self-assigned this Jun 3, 2019
@archmoj
Copy link
Contributor

archmoj commented Jun 3, 2019

One may simply use colorscale for this. Here is a simple codepen.
In respect to parcoords implementation which is optimised for speed and the 256 texture limit, it is not recommended to give every single line different colour.
Here is another example with 256 different colours.

@archmoj archmoj removed their assignment Jun 14, 2019
@gvwilson
Copy link
Contributor

Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson

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

No branches or pull requests

4 participants