In [2]:
from bokeh.io import output_notebook, show
output_notebook()


BokehJS successfully loaded.

In [3]:
from bokeh.plotting import figure

In [8]:
plot = figure()
x1, x2, x3 = (1, 2, 3)
y1, y2, y3 = (1, 2, 3)
plot.line(x1, y1, legend="Change", line_width=2)
plot.circle(x2, y2, legend="Peaks", fill_color="white", size=8)
plot.text(x3, y2, text='hello', text_color="blue", legend="x")
plot.text(x3, y2, text='world', text_color="red", legend="y")
show(plot)


ERROR:/opt/miniconda/envs/ipython_bokeh_34/lib/python3.4/site-packages/bokeh/validation/check.py:E-1001 (BAD_COLUMN_NAME): Glyph refers to nonexistent column name: hello [renderer: GlyphRenderer, ViewModel:GlyphRenderer, ref _id: f6f2254c-cb85-4797-b5b8-aa5db0a7a15e]
ERROR:/opt/miniconda/envs/ipython_bokeh_34/lib/python3.4/site-packages/bokeh/validation/check.py:E-1001 (BAD_COLUMN_NAME): Glyph refers to nonexistent column name: world [renderer: GlyphRenderer, ViewModel:GlyphRenderer, ref _id: f97499fc-b087-470c-afa9-1b55b3edb3b5]

In [ ]: