scalenav.plotting.cmap(input, palette, log=False)ΒΆ

Provide colormap for deckgl plotting.

Parameters:
  • input (a list or pandas.Series of numeric values)

  • palette (a palette from pypalettes.)

  • log (whether the scale should be logarithmic)

Return type:

a list containting lists of length 3 with r,g,b values between 0 and 255 for each value from input.