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 (Boolean) – Whether to enable or disable Colour safe / symmetrical power function.

__init__(enable: bool)[source]#
Parameters

enable (bool) –

Methods

__init__(enable)