☰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

DataTable Themes

Community Support
hmanuel1
hmanuel1

Is it possible to update DataTable styling attributes (e.g., background color, color, etc.) using an attribute yaml file? If so, what color styling options are available?

if this is not possible or limited, what are the options available through CSS that can be set using Python?
Thanks!

⌁   Link to post
hmanuel1
hmanuel1

I couldn’t find any example of how to do that. I found a couple of posts in StackOverflow of specific questions, but couldn’t find an example that has all the attributes.

Also, your answer implies that I can not use a yaml theme file to set up those attributes in the same way I would do in a plot, right?
Thanks!

⌁   Link to post
p-himik
p-himik

There’s no documentation on all the classes and elements that are created by Bokeh, let alone their hierarchy. Your best bet is to create a simple table and then just inspect it with your browser’s DevTools.

YAML files, if you mean themes, just set specific properties of specific models to specific values, nothing more. There are no properties that let you embed arbitrary CSS, so no, you cannot use YAML here.

⌁   Link to post

End of archived discussion · Replies are disabled