

def __gluestate__(self, context):
    return dict(group=context.id(self.group), style=context.do(self.style))

dataset/ETHPy150Open glue-viz/glue/glue/core/subset_group.py GroupedSubset.__gluestate__/original