interaction_paragraph.py — Anaconda Enterprise 4.4 documentation

Anaconda Enterprise: Documentation

# interaction_paragraph.py

    from bokeh.io import output_file, show
    from bokeh.layouts import widgetbox
    from bokeh.models.widgets import Paragraph

    output_file("div.html")

    p = Paragraph(text="""Your text is initialized with the 'text' argument.  The
    remaining Paragraph arguments are 'width' and 'height'. For this example, those values
    are 200 and 100 respectively.""",
    width=200, height=100)

    show(widgetbox(p))