def __enter__(self):
        from .rcmod import set_palette
        self._orig_palette = color_palette()
        set_palette(self)
        return self
Open the context.
dataset/ETHPy150Open mwaskom/seaborn/seaborn/palettes.py/_ColorPalette.__enter__