Constrain gridplot to the available viewport?

Hi all,

Is it possible to constrain bokeh gridplot to the browser viewport without any overflow such that the size of the plots in the grid change dynamically depending on the number of items in the grid. i.e. if the grid is 2 x 2, large plots appear and if 8 x 8 for example, the plot size reduces but still fit “exactly” in the viewport ?
I tried setting the sizing_mode argument but to no avail.

Thanks

Hi, in order to effectively help, some basic information is really always necessary:

  • version of bokeh and any other relevant packages
  • example code, ideally a minimal complete example that reproduces whatever you are asking about