reconstrue / shell

Jupyter as developer's IDE & CLI shell atop web-tech. Tested for multiple deploys (JupyterHub, Colab, etc.).
http://reconstrue.com
Apache License 2.0
0 stars 0 forks source link

Bokeh: full-screen resize in Colab #45

Open JohnTigue opened 4 years ago

JohnTigue commented 4 years ago
JohnTigue commented 4 years ago

It involve:

p = bokeh.plotting.figure(
                              plot_width=1350, plot_height=400,
                              min_border_right=14…)
p.sizing_mode = 'stretch_both'

setting plot_width, plot_height and sizing_mode (multiple diff values) seem to interact. Didn't work it out yet.