colour.utilities.required

colour.utilities.required(*requirements: Literal['Matplotlib', 'NetworkX', 'OpenColorIO', 'OpenImageIO', 'Pandas', 'Scikit-Learn', 'tqdm', 'trimesh']) Callable[source]

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

Parameters

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

Return type

Callable