ee.Palette.limits

Set the minimum and maximum limits for the palette. The palette colors will be evenly spaced between these values, overriding any previous settings for 'positions' or 'classes'.

UsageReturns
Palette.limits(min, max)Palette
ArgumentTypeDetails
this: palettePalette
minFloatThe minimum value of the palette. Values less than min will be clamped to min.
maxFloatThe maximum value of the palette. Values greater than max will be clamped to max.