☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

DataTable in Bokeh layout forcing blank space in row

Community Support
Patrick_Wright
Patrick_Wright

I resolved this!
Turns out that the layout works properly if I use layout instead of gridplot.

Original implementation commented out, and working implementation shown below:

#grid = gridplot(
  #children = [
    #[hor_layout_date_slider],
    #[hor_layout_time_cb],
    #[scatter_fig, vert_layout_1, vert_layout_2],
    #[data_table]
    #],
    #toolbar_options=dict(logo=None),
    #sizing_mode='fixed',
#)
  
grid = layout(
  children=[
    [hor_layout_date_slider],
    [hor_layout_time_cb],
    [scatter_fig, vert_layout_1, vert_layout_2],
    [data_table]
    ],
    sizing_mode='fixed',
)
⌁   Link to post
Bryan
Bryan

@Patrick_Wright You got to it before I could reply, but yes exactly that. There were many bugs and problems with layout before Bokeh 1.2, one of them being that gridplot could generate things that were not actually grids. That bug was fixed, and gridplot now only and always generates a grid layout.

Regarding:

I am not sure if SO is still being used as a primary channel for support, or if this Community Support forum is preferred?

I don’t think there is any official preference, but if I were to make a personal ask it would be that folks try not to simultaneously cross-post questions in different places (unless they are willing to cross-post any answers everywhere!)

⌁   Link to post

End of archived discussion · Replies are disabled