I'm trying to change the colormap used by datashader.
I tried this:
datashade(scatter, cmap='Reds')
Where scatter
is an hv.Scatter
element. This doesn't work because datashader expects an iterable or a function that returns colors. As such, this works:
datashade(scatter, cmap=['blue'])
So how can I take the 'Reds'
colormap and convert it into something datashader can use?
Thank you.