colour.algebra.spow_enable

class colour.algebra.spow_enable(enable)[source]

A context manager and decorator temporarily setting Colour safe / symmetrical power function enabled state.

Parameters

enable (bool) – Whether to enable or disable Colour safe / symmetrical power function.

__init__(enable)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(enable)

Initialize self.