bokeh.themes
¶
Provides API for loading themes
bokeh.themes.theme
¶
Provide a Theme
class for specify overrides for default values
for Bokeh Model
properties.
-
class
Theme
(filename=None, json=None)¶ Parameters: - filename (str, optional) – path to a YAML theme file
- json (str, optional) – a JSON dictionary specifying theme values
Raises: ValueError
– If neitherfilename
orjson
is supplied.