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…
fig.show()
Another alternative is to go with a “full-fledged” widget, as described here.