@laval have you thought about using the refresh button? I built a demonstration where you configure settings in a components web-view and then the refresh button triggers the re-drawing of a seaborn graphic which is offered as a download option.
Not sure if this would help your case?