colour.utilities.suppress_warnings

colour.utilities.suppress_warnings(*args, **kwds)[source]

A context manager filtering Colour and also optionally overall Python warnings.

Parameters:colour_warnings_only (bool, optional) – Whether to only filter Colour warnings or also overall Python warnings.