Is there a way to change the default color of the options for the MultiChoice
widget?
I tried using the style
parameter, but was only able to change the title of the MultiChoice.
For reference, I am using the example from the gallery:
from bokeh.io import show
from bokeh.models import CustomJS, MultiChoice
OPTIONS = ["foo", "bar", "baz", "quux"]
multi_choice = MultiChoice(value=["foo", "baz"], options=OPTIONS)
multi_choice.js_on_change("value", CustomJS(code="""
console.log('multi_choice: value=' + this.value, this.toString())
"""))
show(multi_choice)
I want to change the chosen options (by default foo
and baz
) to not be the default blue background with white font but instead something like black with yellow font.