def __setitem__(self, key, value):
        if key in ['main', 'right', 'top']:
            if isinstance(value, (ViewableElement, UniformNdMapping)):
                self.data[key] = value
            else:
                raise ValueError('AdjointLayout only accepts Element types.')
        else:
            raise Exception(key % 'Position %s not valid in AdjointLayout.')
dataset/ETHPy150Open ioam/holoviews/holoviews/core/layout.py/AdjointLayout.__setitem__/swapped operands of `%`