Can't set sig figs on Mapbox color scale


#1

Is it possible? I would like to specify the tickformat. I am able to do this with the axis of a chart under layout: ie ‘tickformat’: “.1f”
However I don’t see any documentation for how its done for Mapbox.


#2

You can try using the new hovertemplate attribute: