colour.utilities.set_caching_enable#

colour.utilities.set_caching_enable(enable: bool) None[source]#

Set the Colour caching enabled state.

Parameters:

enable (bool) – Whether to enable Colour caching.

Return type:

None

Examples

>>> with caching_enable(True):
...     print(is_caching_enabled())
...     set_caching_enable(False)
...     print(is_caching_enabled())
True
False