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

Add option to set parcoords context line color and opacity

Open archmoj opened this issue 7 years ago • 4 comments

The deselected lines in all parcoords plots now use a constant color (i.e. #777 and auto opacity logic (i.e. depending on the number of overlaid lines). In some scenarios it may be useful to let the user override the default.

archmoj avatar Jun 06 '19 23:06 archmoj

If we could set the opacity to zero, then the user could have the unselected lines completely removed when filtering. This would be very nice for cluttered plots. for inspiration, see how hiplot does this in their parcoords tool (https://facebookresearch.github.io/hiplot/_static/demo/ml1.csv.html?hip.color_by=%22valid+ppl%22&hip.PARALLEL_PLOT.order=%5B%22dropout%22%2C%22embedding_size%22%2C%22epoch%22%2C%22lr%22%2C%22train+f1%22%2C%22valid+ppl%22%5D) image

chriddyp avatar Feb 17 '20 22:02 chriddyp

Hi ! Is there any attribute available now that solves this issue in Python . I want to change the unselected line colour from the default grey to another colour. Please let me know . Thanks.

MahanyaKochhar avatar Jul 05 '22 10:07 MahanyaKochhar

This will be in the next release, hopefully out this week. It will be plotly.js 2.13 and plotly.py 5.10

alexcjohnson avatar Jul 06 '22 18:07 alexcjohnson

Hi! I can’t quite figure out if this is issue (parcoords and unselected lines) has been fixed in plotly.py? Since I can’t change the opacity of the unselected lines in my plotly.py (5.15.0) plot with flask.

Thanks :)

RamenJamen avatar Nov 01 '23 00:11 RamenJamen