colour.utilities.ndarray_copy_enable#
- class colour.utilities.ndarray_copy_enable(enable: bool)[source]#
Define a context manager and decorator temporarily setting Colour
numpy.ndarray
copy enabled state.- Parameters
enable (bool) – Whether to enable or disable Colour
numpy.ndarray
copy.- Return type
None
Methods
__init__
(enable)