In [ ]:
import numpy as np
from bokeh.plotting import *
To run these examples you must execute the command python bokeh-server in the top-level Bokeh source directory first.
In [ ]:
output_notebook(url="http://localhost:5006/")
In [ ]:
N = 80
x = np.linspace(0, 4*np.pi, N)
y = np.sin(x)
In [ ]:
line(x,y, color="#0000FF", tools="pan,wheel_zoom, box_zoom, reset, resize")
show()
In [ ]: