Bokeh layouts
import pandas as pd
import numpy as np
from bokeh.plotting import figure, show, ColumnDataSource
from bokeh.io import output_notebook
output_notebook()#Create plot 1
fruits = ['Apples', 'Pears', 'Nectarines', 'Plums', 'Grapes', 'Strawberries']
counts = [5, 3, 4, 2, 4, 6]
plot1 = figure(x_range=fruits, plot_height=250, plot_width=400,
title="Fruit Counts",
toolbar_location=None, tools="")
plot1.vbar(x=fruits, top=counts, width=0.9, color = "#c9d9d3")
show(plot1)


Plots in a row layout

Plots in a column layout
Plot in a nested layout

Tabbed layout

Plot in a grid layout
Linking plots together

Last updated