Which event is triggered when a shape has been drawn with Plotly ("Draw line" toolbar icon)?

Hi @stamljf , I don’t know about JS, but in python the shapes are stored in a list. Here is an example app where I delete some shapes based on the name: