I want to create a set of panels with plots within them for a Bokeh server application I’m working on. However, when I add the panels to the Bokeh server document as “tabs”, it adds the panels and the plots within the panels to the document (where they’re supposed to be), but it creates the empty plots that are supposed to just within the panels on the Bokeh server document itself above the panels. However, the layout I want is produced when I test it by just placing the tabs on an output html file with show(tabs). Please see the attached screenshots if the explanation was unclear.
Anyone have an idea as for why this might be happening? I don’t touch curdoc() anywhere in the app before this code blurb.
for i, list_figs in enumerate(IN_DRIVE_FIGS):
tabs = Tabs(tabs = metric_panels)