By reading the doc regarding the scatter mode, it suggests to use the “opacity” to display a shade of colour when several points are at the same location
The doc of px.scatter_geo states that opacity changes the markers opacity:
However, since it changes the opacity of both the legend item and the markers on the map, light colors become almost all equal:
Legend item should be “Purple, Green, Red, Lila, Blue, Sand” At 0.2 opacity, they are almost all grey.
Is there any way to trick this, other than CSS? Adding new shapes? Hiding the original legend items and adding traces without coordinates, but opacity set on 1 ?