Skip to content

remove categorical options from python parcoords->dimensions->values on ref page #891

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

Open
cldougl opened this issue Mar 9, 2018 · 3 comments

Comments

@cldougl
Copy link
Member

cldougl commented Mar 9, 2018

https://plot.ly/python/reference/#parcoords-dimensions-values

The auto-generated type options mention a list of strings or datetimes is acceptable for parcoords -> dimensions -> values, however, as noted in the description the values must be a list of finite numbers (i.e. categorical options [strings / dates] are not possible).

screen shot 2018-03-09 at 5 01 40 pm

@harahu
Copy link

harahu commented May 6, 2021

Wouldn't it be better to just implement support for strings and datetimes? I don't see a good reason to not support these data types in a parcoords plot.

@nicolaskruchten
Copy link
Contributor

It would be great to implement support for these yes! We'd love a pull request into the relevant parts of Plotly.js :)

@harahu
Copy link

harahu commented May 6, 2021

I don't know much javascript, but I did play around with adapting plotly.express (the python API) to deal with these data types. That wasn't too hard, but involved the not-so-graceful approach of translating values to the supported datatypes and then manipulating the ticktext to emulate what real support would look like.

I could contribute this solution, but it feels like treating symptoms.

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

3 participants