Lasso deselect from inside a function

Hi @visual,

I didn’t realize you were intending to display two diagrams with the lasso selection callbacks in an HTML file. You won’t be able to use the FigureWidget callbacks to accomplish this because these rely on having an active Python kernel.

What you want is possible, but it’s would be a bit messy and would involve writing the callbacks in JavaScript. Here’s an example that shows the general idea: See this example for the general idea Hyperlink to markers on map.

Hope that helps clear things up,

-Jon