Description
I've seen a lot of activity around colorblind-friendly colors (#2871, #6254) and simulation of colorblindness (#3279). I wonder if you would also like the colorblind-friendly colormaps published by Paul Tol which I have recently implemented for myself here. Sample plot:
The two bottom rows are the matplotlib versions, done via ListedColormap
-> register_cmap
-> imshow(..., cmap=get_cmap(...))
. I could easily add the data for these 3 colormaps as a PR into _cm_listed.py
. Are you folks interested?
postscript: It would be great to get the discrete palettes in there too, but I'm not sure if they will work as cycler
s, since the color values can change as the number of levels increases (see, e.g., the blue change in the jump from 4 to 5 in the qualitative palette). But to be honest I haven't tried yet... it could be a separate PR if there's interest.