Home > Enterprise >  How can I show one figure and one datatable on one tab if there is multiple datatables in bokeh?
How can I show one figure and one datatable on one tab if there is multiple datatables in bokeh?

Time:02-01

I have four figure, on four tabs. I also have four datatables, one for each datasource/figure.

I want to show only one datatable in one tab.

I tried to use column layout and but it is not iterable.

show( column( data_table4,Tabs(tabs=[tab4]) ), column( data_table3,Tabs(tabs=[tab3]) ) )

CodePudding user response:

The trick is to use a tabs with inner layout

Attention: In bokeh older than 3.0.0 TabPanel was named Panel.

The solution is base on the examples tab_panes and data_table_plot.

  • Related