@linestyle.setter
    def linestyle(self, value):
        if VALID_LINESTYLES not in value:
            raise Exception("Line style should be one of %s" %
                            '/'.join(VALID_LINESTYLES))
        self._linestyle = value
dataset/ETHPy150Open glue-viz/glue/glue/core/visual.py/VisualAttributes.linestyle/swapped operands of `not in`