human
Here's a good function header given the following:
I wrote the below code

    if (name is None):
        name = matplotlib.get_backend()
    if name.startswith(u'module://'):
        backend_name = name[9:]
    else:
        backend_name = (u'backend_' + name)
        backend_name = backend_name.lower()
        backend_name = (u'matplotlib.backends.%s' % backend_name.lower())
    backend_mod = __import__(backend_name, globals(), locals(), [backend_name], 0)
    new_figure_manager = backend_mod.new_figure_manager
    def do_nothing_show(*args, **kwargs):
        frame = inspect.currentframe()
        fname = frame.f_back.f_code.co_filename
        if (fname in (u'<stdin>', u'<ipython    console>')):
            warnings.warn((u"\nYour    currently    selected    backend,    '%s'    does    not    support    show().\nPlease    select    a    GUI    backend    in    your    matplotlibrc    file    ('%s')\nor    with    matplotlib.use()" % (name, matplotlib.matplotlib_fname())))
    def do_nothing(*args, **kwargs):
        pass
    backend_version = getattr(backend_mod, u'backend_version', u'unknown')
    show = getattr(backend_mod, u'show', do_nothing_show)
    draw_if_interactive = getattr(backend_mod, u'draw_if_interactive', do_nothing)
    matplotlib.verbose.report((u'backend    %s    version    %s' % (name, backend_version)))
    global backend
    backend = name
    return (backend_mod, new_figure_manager, draw_if_interactive, show)

What's a good function header?
assistant
#Here's a good function header.

def pylab_setup(name=None):