This IPython Notebook contains simple examples of the scatter function. To clear all previously rendered cell outputs, select from the menu: Cell -> All Output -> Clear

In [ ]:
import numpy as np
from bokeh.plotting import *

In [ ]:
N = 100

In [ ]:
x = np.linspace(0, 4*np.pi, N)
y = np.sin(x)

In [ ]:
output_notebook()

In [ ]:
scatter(x,y, color="#FF00FF", tools="pan,wheel_zoom,box_zoom,reset,resize")
show()

In [ ]:
scatter(x,y, color="red", tools="pan,wheel_zoom,box_zoom,resize")
show()

In [ ]:
scatter(x,y, marker="square", color="green", tools="pan,wheel_zoom,box_zoom,reset,resize")
show()

In [ ]:
scatter(x,y, marker="square", color="blue", tools="pan,wheel_zoom,box_zoom,reset,resize")
show()

In [ ]: