'Apply this theme to a model.
.. warning::
Typically, don\'t call this method directly. Instead, set the theme
on the :class:`~bokeh.document.Document` the model is a part of.'

def apply_to_model(self, model):

    model.apply_theme(self._for_class(model.__class__))
    if (len(_empty_dict) > 0):
        raise RuntimeError('Somebody    put    stuff    in    _empty_dict')
