Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Triggering an event when a Shape is selected


I have a financial timeseries chart and have allowed user to draw basic shapes like: horizontal line, vertical line, rectangle, circle etc. I want to allow user to select a shape and delete it (without using the dash toolbar). Is there a way to trigger an event whenever a shape is selected?

Thanks in advance