

@staticmethod
def dereference(elements, layer=None):
    '\n        Given a dict of elements, extract their current settings\n        into a dict\n\n        :param elements: dict mapping labels -> FormElements\n        :param layer: Subset or Data object as reference\n\n        :reteurns: dict mapping labels -> setting value\n        '
    return dict(((k, v.value(layer)) for (k, v) in elements.items()))

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py FormElement.dereference/original