Show or hide widgets based on values of other widgets

Thanks, I have somewhat more complex nested structure in mind but your example gives a good starting point.

maanantai 23. huhtikuuta 2018 17.01.49 UTC+2 Sébastien Roche kirjoitti:

···

If you use the bokeh server you can put each widget in a widgetbox and act on their css classes.

I have an example code there with a select widget than is used to show/hide others widgets:

https://bitbucket.org/rocheseb/bokeh/src/fdd1dee89118e5155617838c2ce6071ebcb5f8ea/applications/show_hide_widgets/?at=default