How do I get the selected/brushed data points from a Parcoords plot?

I am trying to replicate the linked brushing example for the Parallel Categories plot found here with the Parallel Coordinates plot in an ipywidgets context.

Several GitHub issues mention that on_selection does not work for this (e.g. #2149 and #66)

How would I go about solving this issue and implement linked brushing for the Parcoords plot?

The documentation mentions a uirevision parameter but I do not know what to do with this and how to utilise it.

Also, if someone is willing to guide me in the right direction I would be more than happy to try to implement the on_selection behaviour for the Parcoords plot.

Thank you so much for your help!

1 Like