colour.utilities.required#

colour.utilities.required(*requirements: Literal['ctlrender', 'Graphviz', 'Matplotlib', 'NetworkX', 'OpenColorIO', 'OpenImageIO', 'Pandas', 'tqdm', 'trimesh', 'xxhash']) Callable[source]#

Decorate a function to check whether various ancillary package requirements are satisfied.

Parameters:

requirements (Literal['ctlrender', 'Graphviz', 'Matplotlib', 'NetworkX', 'OpenColorIO', 'OpenImageIO', 'Pandas', 'tqdm', 'trimesh', 'xxhash']) – Requirements to check whether they are satisfied.

Return type:

Callable