Skip to content
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

Add option to set parcoords context line color and opacity #3939

Closed
archmoj opened this issue Jun 6, 2019 · 4 comments · Fixed by #4635 or #6216
Closed

Add option to set parcoords context line color and opacity #3939

archmoj opened this issue Jun 6, 2019 · 4 comments · Fixed by #4635 or #6216
Labels
feature something new

Comments

@archmoj
Copy link
Contributor

archmoj commented Jun 6, 2019

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.

@etpinard etpinard added the feature something new label Jun 7, 2019
@archmoj archmoj self-assigned this Jun 10, 2019
@archmoj archmoj modified the milestone: v1.49.0 Jun 10, 2019
@archmoj archmoj removed their assignment Jun 14, 2019
@chriddyp
Copy link
Member

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

@MahanyaKochhar
Copy link

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.

@alexcjohnson
Copy link
Collaborator

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

@RamenJamen
Copy link

RamenJamen commented Nov 1, 2023

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
7 participants