Custom tooling

With plenty of help from Bryan Van de Ven, We created a custom draw tool.

The desired use case is to be able to iterate through a series of images, have the option to annotate them individually using the draw tool, and iterate on to the next one. With each image iteration, the line data clears from the plot(having already been saved from the callback).

I’m having trouble with clearing the line data when I change images. I created an example notebook to illustrate how it currently works.

Any advice or ideas would be greatly appreciated.