Hi,
I’m looking for a feature to change sizing_mode when output_file is called.
I can of course change it manually directly in the html file when it isaved but don’t think it is a smart solution.
fig = figure(sizing_mode="stretch_width")
...
output_file(filename=path_to_file)
save(fig)
# This is what I use now
# but want more smarter solution within bokeh library if there is one
with open(path_to_file, 'r') as f:
stretch_width = f.read().replace('stretch_width', 'stretch_both')
with open(path_to_file, 'w') as f:
f.write(stretch_width)
Thanks

