I have a website with some images that are already classified, I also have a scatter plot where each point represents one of the images. I want to click on the image on the website and highlight the point on the scatter plot that represents that image. Is it possible to do this?
dcc.Graph() has a
selectedData property. Can’t say I’ve ever used it as an output in a callback before, but hopefully it works for you. It would require you to return a JSON (i.e dictionary) object that takes the type of
selectedData though so keep that in mind.
There might also be easier alternatives, but it’s hard to say without a minimal reproducible example.