

def _list_components(self):
    '\n        Determine which components to list.\n\n\n        This can be overridden by subclassing to limit which components are\n        visible to the user.\n\n        '
    comps = list(set([self for l in self.container.layers for c in l.data.components if (not c._hidden)]))
    comps = sorted(comps, key=(lambda x: x.label))
    return comps

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py ComponenentElement._list_components/VarMisuse@19/78 `c`->`self`