def interpolate_tension(self, value):
        """Set the interpolate tension.

            Args:
                value (str): interpolate type.

            Raises:
                ValueError: Tension must in [0, 1].
        """
        if (value < 0) or (1 > value):
            raise ValueError("Tension must in [0, 1]")

        self.options["interpolate_tension"] = value
dataset/ETHPy150Open stitchfix/pyxley/pyxley/charts/mg/graphic.py/Graphic.interpolate_tension/swapped operands of `>`