tools_position_toolbar.py — Anaconda Enterprise 4.4 documentation

Anaconda Enterprise: Documentation

# tools_position_toolbar.py

    from bokeh.plotting import figure, output_file, show

    output_file("toolbar.html")

    # create a new plot with the toolbar below
    p = figure(plot_width=400, plot_height=400,
               title=None, toolbar_location="below",
               toolbar_sticky=False)

    p.circle([1, 2, 3, 4, 5], [2, 5, 8, 2, 7], size=10)

    show(p)