MCPcopy Create free account
hub / github.com/ActiveState/code / updated_style

Function updated_style

recipes/Python/577978_Text_Model/recipe-577978.py:18–21  ·  view source on GitHub ↗
(style, properties)

Source from the content-addressed store, hash-verified

16defaultstyle = create_style(textcolor='black', fontsize=10)
17
18def updated_style(style, properties):
19 new = style.copy()
20 new.update(properties)
21 return create_style(**new)
22
23
24

Callers 1

set_propertiesMethod · 0.85

Calls 3

create_styleFunction · 0.85
copyMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected