I want to be able to remove a few points from a trace, or alternatively modify their style to set their opacity to 0.
I’m not sure if the former is even technically possible, but I think the latter should be possible. I found an old thread on github (don’t have the link anymore) where someone said you can use eg marker.color[5]
to change the colour of the 5th point in javascript. I couldn’t get it working with R. Does anyone know the R API to achieve that?