In [1]:
import bokeh.plotting as bp
bp.output_notebook()


Loading BokehJS ...

In [2]:
# prepare some data
x = [1, 2, 3, 4, 5]
y = [6, 7, 2, 4, 5]

In [3]:
# create a new plot with a title and axis labels
p = bp.figure(x_axis_label='x', y_axis_label='y')

# add a line renderer with legend and line thickness
p.circle(x, y, size=10, color="red")

bp.show(p)


Out[3]:

<Bokeh Notebook handle for In[3]>