This IPython Notebook contains simple examples of many of the basic vectorizable glyph functions that Bokeh provides. To clear all previously rendered cell outputs, select from the menu: Cell -> All Output -> Clear
In [1]:
import numpy as np
from bokeh.plotting import figure, output_notebook, show
In [2]:
N = 9
In [3]:
x = np.linspace(-2, 2, N)
y = x**2
sizes = np.linspace(10, 20, N)
xpts = np.array([-.09, -.12, .0, .12, .09])
ypts = np.array([-.1, .02, .1, .02, -.1])
In [4]:
output_notebook()