0123012301230123−1−0.500.51012312
Four ways to change opacity of scatter markersFully opaque. When there are many points they overlapand you don't get a good feel for their density{opacity: 0.5} - lets you see traces behind this one, butdoes not let you see point density any better thanthe opaque trace{marker:{opacity:0.5}} - lets you see density of points,but in places with a very high density you cannot seetraces behind this one. Sometimes a good strategyis to combine this with trace opacity.{marker:{color:'rgba(....,0.5)'}} - similar to marker.opacitybut since the line is opaque this emphasizeseach point more{marker:{line:{color:'rgba(....,0.5)'}}} - a weird effect.Almost never a good idea unless thereis no fill, when it's equivalent to marker.opacity