I create a figure in a function, e.g.
import numpy from bokeh.plotting import figure, show, output_notebook output_notebook() def make_fig(): rows = col
you can also use it directly
p = Histogram(wind , xlabel= 'meters/sec', ylabel = 'Density',bins=12,x_range=Range1d(2, 16)) show(p)