colour.utilities.
ignore_python_warnings
Decorator for ignoring Python warnings.
Examples
>>> @ignore_python_warnings ... def f(): ... warnings.warn('This is an ignored warning!') >>> f()