documentation
documentation copied to clipboard
remove categorical options from python parcoords->dimensions->values on ref page
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).
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.
It would be great to implement support for these yes! We'd love a pull request into the relevant parts of Plotly.js :)
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.