Module ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Str decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call NameLoad keyword Str keyword Dict Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call NameLoad keyword Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad NameStore body Expr Call NameLoad keyword Call NameLoad keyword Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr CompareIn Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Dict Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword ListLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Dict Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Str Dict Str Str Dict Str Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Dict Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Dict Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Dict Str Dict Str Dict Str Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword ListLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str Str TupleLoad Str Str Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Import alias identifier Import alias identifier If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad orelse Raise Call NameLoad BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ absolute_import print_function N/A unittest N/A tempfile bokeh.document Document bokeh.model Model bokeh.core.property_mixins FillProps LineProps TextProps bokeh.core.properties Int String bokeh.themes Theme ThemedModel N/A Model N/A N/A number N/A Int 42 N/A string N/A String hello N/A SubOfThemedModel N/A ThemedModel N/A N/A another_string N/A String world N/A TestThemes N/A N/A unittest TestCase N/A test_construct_empty_theme_from_file N/A N/A self N/A N/A N/A N/A N/A tempfile NamedTemporaryFile file N/A N/A N/A N/A N/A file file write N/A N/A encode utf-8 N/A N/A N/A N/A file file flush N/A theme N/A Theme filename N/A file name N/A N/A N/A theme apply_to_model N/A ThemedModel N/A test_construct_empty_theme_from_json N/A N/A self N/A N/A N/A theme N/A Theme json N/A dict N/A N/A N/A theme apply_to_model N/A ThemedModel N/A test_construct_no_json_or_filename N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError manager N/A N/A N/A Theme N/A N/A N/A self assertTrue N/A requires json or a filename N/A repr N/A manager exception N/A test_construct_json_and_filename N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError manager N/A N/A N/A Theme filename json N/A N/A N/A N/A self assertTrue N/A not both N/A repr N/A manager exception N/A test_construct_bad_attrs N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError manager N/A N/A N/A Theme json N/A dict attrs 42 N/A N/A N/A self assertTrue N/A should be a dictionary of class names N/A repr N/A manager exception N/A test_construct_bad_class_props N/A N/A self N/A N/A N/A N/A N/A self assertRaises ValueError manager N/A N/A N/A Theme json N/A dict attrs N/A dict SomeClass 42 N/A N/A N/A self assertTrue N/A should be a dictionary of properties N/A repr N/A manager exception N/A test_construct_nonempty_theme_from_file N/A N/A self N/A N/A N/A N/A N/A tempfile NamedTemporaryFile file N/A N/A N/A N/A N/A file file write N/A N/A 
attrs:
    ThemedModel:
        number: 57
    SubOfThemedModel:
        another_string: "boo"
             encode utf-8 N/A N/A N/A N/A file file flush N/A theme N/A Theme filename N/A file name N/A N/A N/A self assertDictEqual N/A dict number 57 N/A N/A theme _for_class ThemedModel N/A N/A N/A self assertDictEqual N/A dict number 57 another_string boo N/A N/A theme _for_class SubOfThemedModel N/A test_theming_a_model N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel N/A string w00t N/A obj N/A ThemedModel N/A changes N/A dict calls N/A N/A N/A N/A self assertEqual hello N/A obj string record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A N/A theme apply_to_model obj N/A N/A N/A self assertEqual w00t N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello w00t N/A changes N/A calls N/A test_theming_a_model_via_base N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel N/A string w00t N/A obj N/A SubOfThemedModel N/A changes N/A dict calls N/A record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A N/A self assertEqual hello N/A obj string N/A N/A N/A theme apply_to_model obj N/A N/A N/A self assertEqual w00t N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello w00t N/A changes N/A calls N/A test_subclass_theme_used_rather_than_base N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel SubOfThemedModel N/A string w00t N/A string bar N/A obj N/A SubOfThemedModel N/A N/A N/A self assertEqual hello N/A obj string N/A changes N/A dict calls N/A record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A N/A theme apply_to_model obj N/A N/A N/A self assertEqual bar N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello bar N/A changes N/A calls N/A test_theming_a_document_after_adding_root N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel N/A string w00t N/A obj N/A ThemedModel N/A doc N/A Document N/A N/A N/A doc add_root obj N/A N/A N/A self assertEqual hello N/A obj string N/A changes N/A dict calls N/A record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A doc theme theme N/A N/A N/A self assertIs N/A doc theme theme N/A N/A N/A self assertEqual w00t N/A obj string N/A N/A N/A doc remove_root obj N/A N/A N/A self assertEqual hello N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello w00t N/A string w00t hello N/A changes N/A calls N/A test_theming_a_document_before_adding_root N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel N/A string w00t N/A obj N/A ThemedModel N/A doc N/A Document N/A N/A N/A self assertEqual hello N/A obj string N/A N/A doc theme theme N/A N/A N/A self assertIs N/A doc theme theme N/A changes N/A dict calls N/A record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A N/A doc add_root obj N/A N/A N/A self assertEqual w00t N/A obj string N/A N/A N/A doc remove_root obj N/A N/A N/A self assertEqual hello N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello w00t N/A string w00t hello N/A changes N/A calls N/A test_setting_document_theme_to_none N/A N/A self N/A N/A N/A theme N/A Theme json N/A attrs N/A ThemedModel N/A string w00t N/A obj N/A ThemedModel N/A doc N/A Document N/A N/A N/A doc add_root obj N/A changes N/A dict calls N/A record_trigger N/A N/A attr old new_ N/A N/A N/A N/A N/A N/A changes N/A calls append N/A attr old new_ N/A N/A N/A N/A obj on_change string record_trigger N/A N/A doc theme theme N/A N/A N/A self assertEqual w00t N/A obj string N/A N/A doc theme None N/A N/A N/A self assertIsNot N/A doc theme None N/A N/A N/A self assertEqual hello N/A obj string N/A N/A N/A self assertEqual N/A N/A string hello w00t N/A string w00t hello N/A changes N/A calls N/A _compare_dict_to_model_class_defaults N/A N/A self props model_class N/A N/A N/A model N/A model_class N/A N/A name value N/A N/A props items N/A N/A property N/A N/A model lookup name N/A N/A property None N/A N/A N/A RuntimeError N/A Model %r has no property %s N/A model name N/A default N/A N/A property class_default model_class N/A N/A default value N/A N/A N/A print N/A %s.%s differs default %r theme %r N/A N/A model_class __name__ name default value N/A N/A N/A print N/A %s.%s default %r is identical in the theme N/A N/A model_class __name__ name default N/A _compare_dict_to_model_defaults N/A N/A self props model_name N/A N/A N/A bokeh.models models N/A bokeh.models.widgets widgets N/A N/A hasattr models model_name N/A N/A N/A N/A self _compare_dict_to_model_class_defaults props N/A getattr models model_name N/A N/A N/A hasattr widgets model_name N/A N/A N/A N/A self _compare_dict_to_model_class_defaults props N/A getattr widgets model_name N/A N/A N/A RuntimeError N/A Could not find class for  model_name N/A test_default_theme_is_empty N/A N/A self N/A N/A N/A doc N/A Document N/A N/A class_name props N/A N/A N/A N/A N/A doc theme _json N/A attrs items N/A N/A N/A N/A self _compare_dict_to_model_defaults props class_name N/A N/A N/A self assertEqual 0 N/A len N/A N/A N/A doc theme _json N/A attrs N/A N/A N/A self _compare_dict_to_model_class_defaults N/A N/A doc theme _fill_defaults FillProps N/A N/A N/A self assertEqual 0 N/A len N/A N/A doc theme _fill_defaults N/A N/A N/A self _compare_dict_to_model_class_defaults N/A N/A doc theme _text_defaults TextProps N/A N/A N/A self assertEqual 0 N/A len N/A N/A doc theme _text_defaults N/A N/A N/A self _compare_dict_to_model_class_defaults N/A N/A doc theme _line_defaults LineProps N/A N/A N/A self assertEqual 0 N/A len N/A N/A doc theme _line_defaults N/A N/A