We are considering packing proplot with some custom cyclic colormaps. Below is an example that I'm toying with.
@bradyrx It turns out that luminance + chroma as sine curves in quadrature give you uniform, colorblind-friendly single hue maps! I tried making a cyclic multihue map this way but it turns out to be way harder. HSL and HPL give weird zig-zags in chroma/luminance and in HCL, it's almost impossible to "thread the needle" between valid values (i.e. values that translate to non-impossible RGB colors).
Feel free to play with this example:
importproplotasplotimportnumpyasnpspace='hcl'hue='medium blue'reverse=Falseluminance_shift=0saturation_shift=np.pi/2luminance_offset=0saturation_offset=0luminance_scale=80saturation_scale=60luminance=lambdax: luminance_offset+50+luminance_scale*np.sin(x*2*np.pi+luminance_shift)/2saturation=lambdax: saturation_offset+50+saturation_scale*np.sin(x*2*np.pi+saturation_shift)/2cmap=plot.PerceptuallyUniformColormap.from_hsl('_cyclic',
# hue=(hue, hue + 360)[::1 - 2*reverse], # cyclic hues!hue=hue, # constant hue!saturation=saturation, luminance=luminance,
cyclic=True, space=space)
cmap=cmap.shifted(180) # optionally shiftf=plot.show_channels(cmap, rgb=False, axwidth=1.5)
f, ax=plot.subplots()
ax.pcolormesh(np.ones((30,30)).cumsum(axis=0) %10, cmap=cmap, colorbar='b')
ax.format(suptitle='Cyclic colormap test')

We are considering packing proplot with some custom cyclic colormaps. Below is an example that I'm toying with.
@bradyrx It turns out that luminance + chroma as sine curves in quadrature give you uniform, colorblind-friendly single hue maps! I tried making a cyclic multihue map this way but it turns out to be way harder. HSL and HPL give weird zig-zags in chroma/luminance and in HCL, it's almost impossible to "thread the needle" between valid values (i.e. values that translate to non-impossible RGB colors).
Feel free to play with this example: