

def add_subset(self, subset):
    'Add a subset to the widget\n\n        :returns: True if the addition was accepted, False otherwise\n        '
    self.add_data(subset.data)
    if (subset.data in self.client):
        subset.client.add_layer(subset)
        return True

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py CustomWidgetBase.add_subset/VarMisuse@36/80 `self`->`subset`