Hi,
I created a figure with multiple subplots that show line plots. When the user makes a (box) selection in one of them, I want to remove the selection from the other plot that has a selection. I planned to just update the selections in the layout:
figure["layout"]["selections"] = list(filter(lambda s: s["xref"] == x_ref, selections))
This works but triggers the callback again because I updated the selections. The newly triggered selection does not contain any relevant data, by the way, which makes this behavior completely useless… So I guess this is both a question and a bug report
Is there a way to remove a selection from a subplot without triggering any selectedData callback?
Thanks!