plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

missing data should be skipped in parcoords

Open archmoj opened this issue 6 years ago • 4 comments

Reported in https://community.plot.ly/t/plotly-graph-objects-parcoords-nan-replaced-by-0/29725 If some of the columns contain nan during the display of plotly.graph_objects.Parcoords the data are displayed as 0, it will be nice to don’t to treat the value as a nan and not as 0.

demo

archmoj avatar Nov 08 '19 16:11 archmoj

I'm not sure about this. I think we should still draw the dimension axis and simply not draw the line.

etpinard avatar Nov 18 '19 17:11 etpinard

Agreed - the ideal behavior would be to just remove the line segments to and from the nan value, but continue to show other segments of the same object.

alexcjohnson avatar Nov 18 '19 17:11 alexcjohnson

What would happen with selection then?

archmoj avatar Nov 19 '19 02:11 archmoj

I'd say if the dimension with nan has any constraint on it at all, this object should be filtered out, but if it's unconstrained then this object should remain selected.

alexcjohnson avatar Nov 19 '19 17:11 alexcjohnson