dask / dask/distributed

Use colorblind-friendly color palette on Dashboard

Open
#5,992 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

_Created from #5986 by @dpmccabe_.

Changes Viridis-based continuous color palette to coloblind-friendly categorical palette.

Example of current 18-color palette:

Screen Shot 2022-03-23 at 12 12 12 PM

Problems:

1. This is a palette generated from Viridis, which is for continuous/ordinal data, not categorical data.
2. Because of (1), many colors are hard to distinguish from one another.
3. Text is nearly illegible for some of the very dark background colors being used.
4. Palette is not colorblind-friendly.

Frankly, it's impossible to choose any 18 colors such that every pair is visually distinct. It's even more difficult when you have to exclude ones with low luminosity and take into account color blindness. Thus, I've replaced this color scheme with a colorblind-friendly, 9-color palette from https://personal.sron.nl/~pault/#fig:scheme_light:

![scheme_light](https://user-images.githubusercontent.com/527578/159750176-81ba4f28-bc39-40e5-b86a-d7d6c2b049fc.png)

This addresses all of the problems noted above.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.