When I select a point in a scatter plot I want all the other unselected points to have a low opacity but without showing the density effect (i.e. non accumulative)
In a normal plot setting the opacity outside the marker achieves this but unselected doesn’t have an opacity attribute.
Hi @sabri, welcome to the forum! I think what you want to decrease is not the opacity (which will let the other markers show through it), but the saturation of the color (as in HSV colors). You can pass plotly colors as hsv strings (eg 'hsv(0,100%,100%)') so you could just decrease the saturation of non-selected points.
I moved the notebooks to trash because they were posted long time ago, and the oldest ones contain code with outdated plotly syntax. When someone complains that a notebook at a link posted here is missing, I download and run it to see if it works, eventually I make the necessary changes. I don’t have the time to do that with all notebooks posted years in a row.
Now you can access it at he same link: https://chart-studio.plotly.com/~empet/14975
Add fw.show() after each figurewidget, fw, definition.