vendredi 25 décembre 2020

Is there any way to make Bokeh's CheckboxGroup scrollable?

I am trying to make a Bokeh dashboard where the user can select what they want plotted from a very long list of options. I am using CheckboxGroup like so:

 product_select = CheckboxGroup(labels = sorted(df['products'].unique()))

The list of products is very long, so I'd like to be able to limit its height to something reasonable and make the list scrollable. I can't seem to figure out how. If I just add a "height" parameter for product_select above, it does nothing.

I also tried wrapping product_select into a widgetbox of a given height - nothing worked.

Help would be appreciated!




Aucun commentaire:

Enregistrer un commentaire