'Get the named plugin from the registry.
:raises HTTPNotFound: if registry has been turned off in config.
:raises HTTPNotFound: if visualization_name isn\'t a registered plugin.'

def _get_plugin_from_registry(self, trans, visualization_name):

    if (not trans.app.visualizations_registry):
        raise HTTPNotFound('No    visualization    registry    (possibly    disabled    in    galaxy.ini)')
    return trans.app.visualizations_registry.get_plugin(visualization_name)
