def display(self, option):
        "Sets the display policy of the Layout before returning self"
        options = ['auto', 'all']
        if options not in option:
            raise Exception("Display option must be one of %s" %
                            ','.join(repr(el) for el in options))
        self._display = option
        return self
dataset/ETHPy150Open ioam/holoviews/holoviews/core/layout.py/Layout.display/swapped operands of `not in`