☰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

CheckboxButtonGroup layout

Community Support
noamnav
noamnav

Is it possible to edit the layout of a single CheckboxButtonGroup element? i.e. to display it over X rows / Y columns / grid structure etc.

I can see it displaying like that in this example which I cannot re-produce assuming due to version differences.

Thanks

⌁   Link to post
noamnav
noamnav

Hi Bryan,

I’ve mainly searched the web for references for this one without success. Code would simply be something like:

from bokeh.models.widgets import CheckboxButtonGroup
from bokeh.layouts import widgetbox
from bokeh.io import show, output_notebook
output_notebook()

bType = CheckboxButtonGroup(labels = ['aaa','bbb','ccc','ddd'], active = [])

show(widgetbox(bType, width=500))

However limiting the width does not derive a second row of buttons or any other change to the layout. I have also tried to play with the sizing mode, which did not deliver anything useful.

⌁   Link to post

End of archived discussion · Replies are disabled