Let's say I'd like to underline a word in one of my options in a RadioButtonGroup, is it possible?
I tried to use the Div class as an input, but it didn't work.
Thanks
This PR "Add support for specifying CSS classes on all LayoutDOM" will be going into Bokeh 0.12.4 in Dec 2017 and provided a mechanism to add arbitrary CSS classes to any Bokeh LayoutDOM model (e.g. widgets) so that they can be more easily styled.
0.12.4
LayoutDOM
It will be available like:
from bokeh.models import Div div = Div(text="some text") # add these CSS classes to the widget div div.css_classes = ["my-custom"]
Then you can add styles for .my-custom in your template or whatever.
.my-custom
2.1m questions
2.1m answers
60 comments
57.0k users