

@classmethod
def create_new_subclass(cls, name, **kwargs):
    '\n        Convenience method to build a new CustomViewer subclass\n\n        :param name: Name of the new viewer\n        :param kwargs: UI elements in the subclass\n        '
    kwargs = kwargs.copy()
    kwargs['name'] = name
    kwargs['_custom_functions'] = {
        
    }
    name = kwargs.replace(' ', '')
    return CustomViewerMeta(name, (CustomViewer,), kwargs)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/custom/qt/custom_viewer.py CustomViewer.create_new_subclass/VarMisuse@47/118 `name`->`kwargs`