proplot-dev / proplot

🎨 A succinct matplotlib wrapper for making beautiful, publication-quality graphics
https://proplot.readthedocs.io
MIT License
1.07k stars 96 forks source link

add more color blind-friendly default color cycle #424

Open syrte opened 1 year ago

syrte commented 1 year ago

We may consider adding some more colorblind-friendly color schemes. See some discussion at https://github.com/matplotlib/matplotlib/issues/9460 I just take some notes here for future reference.

Several options

8 colors

colors = ["#1845fb", "#ff5e02", "#c91f16", "#c849a9", "#adad7d", "#86c8dd", "#578dff", "#656364"]

10 colors

colors = ["#3f90da", "#ffa90e", "#bd1f01", "#94a4a2", "#832db6", "#a96b59", "#e76300", "#b9ac70", "#717581", "#92dadd"]


Petroff's paper has not been published yet. I guess (hope) that the matplotlib community may potentially take Petroff's schemes after the acceptance of the paper.