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

Custom default colors #11

Closed
tupui opened this issue Oct 17, 2023 · 4 comments
Closed

Custom default colors #11

tupui opened this issue Oct 17, 2023 · 4 comments
Labels
dashboard enhancement New feature or request

Comments

@tupui
Copy link
Member

tupui commented Oct 17, 2023

Excellent, thanks, @tupui! This way is even better. Can we set the default colors as these?
{'#DC267F'; '#E8EA2F'; '#26DCD1';'#C552E4';'#3F45D0'}
(first should go to the low-low-low scenario)

Originally posted by @gnopik in #10 (comment)

@tupui tupui added enhancement New feature or request dashboard labels Oct 17, 2023
@tupui
Copy link
Member Author

tupui commented Oct 17, 2023

SEQUENTIAL_PALETTES could either be a list of str or mpl.colors.LinearSegmentedColormap (using colormap_from_single_color). Then we just need to update the cmaps logic in palette to take that into account.

@gnopik
Copy link
Contributor

gnopik commented Oct 18, 2023

@tupui, for decomposition with 3 variables the default colors are too close to each other (screenshot 1).
When repainted, looks fine (screenshot 2). Can we have the second color palette blue-ish as in the case of two variables for decomposition (screenshot 3)?

Checked on different datasets, the same.

image

image

image

@tupui
Copy link
Member Author

tupui commented Oct 19, 2023

Yeah I've seen that. I need to understand what is happening because I would expect "Oranges" and then "Purples". Not "Reds".

@tupui
Copy link
Member Author

tupui commented Oct 19, 2023

All fixed with 9d11699 and a50c803

@tupui tupui closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants