colour.algebra.is_spow_enabled#

colour.algebra.is_spow_enabled() bool[source]#

Return whether Colour safe / symmetrical power function is enabled.

Returns:

Whether Colour safe / symmetrical power function is enabled.

Return type:

bool

Examples

>>> with spow_enable(False):
...     is_spow_enabled()
False
>>> with spow_enable(True):
...     is_spow_enabled()
True