Bokeh Serve Responsive App

Hi,

There is a way to create a really responsive application (with plots and multiples widgets) using bokeh. Like changing css properties in each Div, inside of index.html templete.

The docs on layouts http://bokeh.pydata.org/en/latest/docs/user_guide/layout.html specify that every item must have the same sizing mode, but not that every item must have the same size. I can’t find any reference on setting relative sizes of each item.

I’ve played around with various options like sizing_mode, and setting widths at various levels, but I can’t produce the desired behaviour.

Regards,

José

Hi,

It’s not currently possible without writing a significant amount of code. There’s an issue for such functionality: https://github.com/bokeh/bokeh/issues/4986

Regards,

Eugene

···

On Tuesday, January 30, 2018 at 3:17:33 AM UTC+7, José Oñate López wrote:

Hi,

There is a way to create a really responsive application (with plots and multiples widgets) using bokeh. Like changing css properties in each Div, inside of index.html templete.

The docs on layouts http://bokeh.pydata.org/en/latest/docs/user_guide/layout.html specify that every item must have the same sizing mode, but not that every item must have the same size. I can’t find any reference on setting relative sizes of each item.

I’ve played around with various options like sizing_mode, and setting widths at various levels, but I can’t produce the desired behaviour.

Regards,

José