

@classmethod
def make(cls, id, values, comp, categories=None):
    values = np.asarray(values)
    result = values.view(AttributeInfo)
    result.id = id
    result.values = values
    result.categories = categories
    result._component = comp
    return result

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py AttributeInfo.make/original