colour.algebra.spow_enable#

class colour.algebra.spow_enable(enable: bool)[source]#

Define 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: bool) None[source]#
Parameters:

enable (bool)

Return type:

None

Methods

__init__(enable)