Hi everyone,
Wondering if anyone has experience with the following:
I am manually changing the bokeh canvas element width and height element with jquery but then the original plot image dissapears…my guess is I need to retrigger BokehJS to redraw the plot?
Some Javascript I am using:
var canvas = $(canvasWrapper).children();
$(canvas).css({‘width’: responsive_width, ‘height’: responsive_height});
//Setting these destroy the canvas image for some reason
$(canvas).attr(‘width’, responsive_width);
$(canvas).attr(‘height’, responsive_height);
As for why I’m doing this, its because plot resize mode in Bokeh Tabs doesnt seem to work correctly so I need to manually resize the bokeh plot canvas and related div elements.
Any help would be appreciated,
Corey

