-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
parcoords plots cannot handle date values #968
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
Comments
Hi there, For your chart, you can use the |
Not sure I unserstand why this issue was closed. It makes perfect sense to want to display datetimes and timedeltas as continuous values in a parallel coordinates plot. I suggest opening it again and treating it as a feature request. |
@harahu looks like this was closed as “oops, our docs implied that you could do this already, but we’re fixing that to make clear you can’t.” I agree this would be a reasonable thing to want to do. Also real category data or even log axes. This would need to happen in plotly.js, where there’s already this issue: plotly/plotly.js#2292 - doesn’t specifically mention dates but that would be a natural extension. That said, both issues have been dormant for 5 years so absent a code or $ contribution it’s unlikely to be acted upon any time soon. |
Appreciate you pointing me in the right direction @alexcjohnson |
if you attempt to include a date dimension (standard
datetime
ornumpy
datetime64
objects) as one of the dimensions in theParcoord
graph object the resulting dimension is broken (no data points are included) and therefore so is the rest of the graph.the following example will reproduce this behavior (plotly version 2.4.0, macos 10.13.3, conda distribution python 3.6.4):
both of these datasets (
df.date
andregular_dates
) are perfectly acceptable inputs to other plotting types (e.g.go.Scatter
).The text was updated successfully, but these errors were encountered: