'Add a new color scheme to the table.'

def add_scheme(self, new_scheme):

    if (not isinstance(new_scheme, ColorScheme)):
        raise ValueError('ColorSchemeTable    only    accepts    ColorScheme    instances')
    self[new_scheme.name] = new_scheme
