How to listen events on modifying a shape

By the way I’ve just noticed from :

It says :
It is important to note that FigureWidgetdoes not use the renderers framework discussed above, so you should not use theshow()figure method or theplotly.io.showfunction onFigureWidget objects.

So, you all functions, on_* (such as on_change) which are FigureWidget specific will not work is you use the “show” function.

other useful ref: