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

use middle gray instead of 777 for default parcoords unselected line color #6236

Merged
merged 1 commit into from Jul 5, 2022

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Jun 20, 2022

#6216 exposed parcoords' deselectedLineColor constant which was set to color: 777 which is euqal to 777777.
However it would be best to set the dflt for this unreleased new attribute to 7f7f7f which is our middle gray:

'#7f7f7f', // middle gray

@plotly/plotly_js

@alexcjohnson
Copy link
Contributor

That's our default trace color set, not really any statement about what's the "ideal" or "official" gray color. We can adopt it if you think it's better that way, but I wouldn't consider the current color a bug :)

@archmoj
Copy link
Contributor Author

archmoj commented Jun 20, 2022

That's our default trace color set, not really any statement about what's the "ideal" or "official" gray color. We can adopt it if you think it's better that way, but I wouldn't consider the current color a bug :)

The lightness value of 777 (777777) is 0.46 not 0.5 which may not be perfect with some background colors.

@archmoj archmoj requested a review from alexcjohnson July 5, 2022 19:18
Copy link
Contributor

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃

@archmoj archmoj merged commit 5f32935 into master Jul 5, 2022
@archmoj archmoj deleted the adjust-parcoords-unselected-color-dflt branch July 5, 2022 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants