def register_renderer(name, rfactory):
    global _renderers
    _renderers[name] = rfactory
Register a renderer factory that creates renderer instances.
dataset/ETHPy150Open ellisonbg/altair/altair/api.py/register_renderer