Currently I have code that generates different tabs in Bokeh, like this:
tab1 = Panel(child=grid1, title=“tab1”)
tab2= Panel(child=grid2, title=“tab2”)
tabs = Tabs(tabs=[tab1, tab2])
show(tabs)
where grid1 and grid2 are gridplot objects, created by code that looks like this
plots =
while
p = Figure(…)
plots.append([p])
grid1 = gridplot(plots)
This produces tabs with just the grids of these figures.
However, what I’d really like to be able to do is for each tab to contain a mix of different widgets - such as Figures, Text, Tables etc - and not just Figures as in the example above.
After looking through the documentation, it seems like the Panel(child=…) doesnt allow for defining a mix of different types of widgets. I hope I’m wrong and there is actually indeed a way to make each tab contain a mix of different widgets.
If anyone knows about this, and is able to provide any pointers or examples, it would be greatly appreciated.
Thanks in advance!