colour.NullInterpolator#
- class colour.NullInterpolator(x: Any, y: Any, *args: Any, **kwargs: Any)[source]#
Bases:
_DispatchingInterpolatorImplement 1-D function null interpolation.
Return the dependent value when the query matches a knot within tolerance, else the default value.
absolute_tolerance,relative_toleranceanddefaultare writable.