def apply(self, value, input_ranges, key=None):
        from .overlay import CompositeOverlay
        if isinstance(value, CompositeOverlay) and len(value) == 1:
            value = value.values()[0]
        if key is None:
            return self.operation(value, input_ranges=input_ranges, **self.kwargs)
        return self.operation.instance(input_ranges=input_ranges, **self.kwargs).process_element(value, key)
Apply the compositor on the input with the given input ranges.
dataset/ETHPy150Open ioam/holoviews/holoviews/core/options.py/Compositor.apply