In [1]:
from bokeh.plotting import figure, output_notebook, show

x = [1, 2, 3, 4, 5]
y = [6, 7, 2, 4, 5]

output_notebook()

p =  figure(title='my sample figure', x_axis_label='x', y_axis_label='y')

p.line(x, y, line_width=2)

show(p)


BokehJS successfully loaded.

In [ ]: