colour_hdri.vivified_to_dict#

colour_hdri.vivified_to_dict(vivified: Union[Dict, defaultdict]) Dict[source]#

Convert given vivified data-structure to dictionary.

Parameters:

vivified (Union[Dict, defaultdict]) – Vivified data-structure.

Return type:

dict

Examples

>>> vivified = vivification()
>>> vivified['my']['attribute'] = 1
>>> vivified_to_dict(vivified)  
{u'my': {u'attribute': 1}}