Prevent plotting new figure

I am not super familiar with FigureWidget, but maybe fig.show() doesn’t allow for updates… The solution here doesn’t use it, for instance…

Another alternative is to go with a “full-fledged” widget, as described here.