Aloha, all -
I’ve been writing some bokeh apps for my place of work, and have run into a bit of a difficulty in my first attempt to use directory-format apps.
My app consists of six real-time plots in a 2x3 grid. The plots are updated every second. When I run the app as a stand-alone app (not directory format), everything works just fine. The problem comes in when I try to implement the app as a directory app for greater control and options for page formatting.
The problems is this: implementing “sizing_mode=‘stretch_both’” and “stretch_height” both fail spectacularly in exactly the same way: All six plots are reduced to two thin lines at the top of the screen, and do NOT resize with the window at all. This only happens when running in directory mode, and only with ‘stretch_height’ or ‘stretch_both’. I haven’t seen anything here expressing this as a problem, so I’m wondering if somehow I’m doing something wrong.
My editing machine is a mac running 14.1.1 macOS, with bokeh version 3.3.1 and python 3.11.5 and tornado 6.33
Incidentally, directory mode fails completely when running on our production machine, showing only a completely blank browser page. I suspect that is a version issue, as the production machines are Linux with Bokeh 2.3.3, Tornado 6.1, and python 3.6.8.
I’d be most grateful for any ideas on the sizing_mode issue!