Anaconda Enterprise: Documentation

# layout_vertical.py

    from bokeh.io import output_file, show
    from bokeh.layouts import column
    from bokeh.plotting import figure

    output_file("layout.html")

    x = list(range(11))
    y0 = x
    y1 = [10 - i for i in x]
    y2 = [abs(i - 5) for i in x]

    # create a new plot
    s1 = figure(plot_width=250, plot_height=250, title=None)
    s1.circle(x, y0, size=10, color="navy", alpha=0.5)

    # create another one
    s2 = figure(plot_width=250, plot_height=250, title=None)
    s2.triangle(x, y1, size=10, color="firebrick", alpha=0.5)

    # create and another
    s3 = figure(plot_width=250, plot_height=250, title=None)
    s3.square(x, y2, size=10, color="olive", alpha=0.5)

    # put the results in a column and show
    show(column(s1, s2, s3))