Hey all,
I would like to change the canvas size of a whole figure. That is done interactively with a slider widget which sets correctly the ‘plot_width’ property of the figure as I can verify with ‘console.log()’, but the figure does not update. I am sure I have to emit the change in some way like ‘source.change.emit()’ when I change the source in js.
JS Part is like that:
if (cb_obj.name === 'canvas_x') {
cx = canvas_x_w.value;
p.plot_width = cx;
console.log(p.plot_width);
// p.emit(); --> not working
// p.source.emit(); --> not working
Can s.o. give an advice?
How can I find out by myself what I have to ‘emit’ to trigger a change of a property in JS in general?
greets
grindol

