# Bokeh imports
from bokeh.models import Label


class LatexLabel(Label):
    """A subclass of `Label` with all of the same class attributes except
    canvas mode isn't supported and DOM manipulation happens in the TypeScript
    superclass implementation that requires setting).

    Only the render method of LabelView is overwritten to perform the
    text -> latex (via katex) conversion.
    """
