def interpolate(self, value):
        """Set the interpolate type.
            See metricsgraphics documentation for interpolate types
            https://github.com/mozilla/metrics-graphics/wiki/List-of-Options

            Args:
                value (str): interpolate type.

            Raises:
                ValueError: Not a valid interpolation method.
        """
        if _allowed_interpolates not in value:
            raise ValueError("Not a valid interpolation method")

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