'Wrap to throw error if plugin not in registry.'

def get_plugin(self, key):

    if (key not in self.plugins):
        raise galaxy.exceptions.ObjectNotFound(('Unknown    or    invalid    visualization:    ' + key))
    return self.plugins[key]
