I am using scatter with fill=โtoselfโ to plot custom geographic polygons with colors. For the heat of the colors, I use a matplotlib coloscale. I know how to transfer the colorscale to the format plotly uses, but I am incapable of adding the colorbar to the scatter plot without adding markers. Is there some way to just plot the colorbar separate and add it? Or some other way?
Hey @killver,
To add a colorbar to your plot you should define a dummy scatter plot, consisting in two points of small size and coordinates (a,b), (c,d), placed in your colored regions
Something like this one: