The example in this directory all use the bokeh.plotting
interface. This interface is primarily centered around creating a reasonable default plot with
appropriate axes and tools, to which you can add different visual glyphs whose properties are
associated with your data. A simple, but typical complete example of this API looks like:
from bokeh.plotting import figure, output_file, show
p = figure()
p.circle([1, 2, 3], [4, 5, 6], color="orange")
output_file("foo.html")
show(p)
There are three subdirectories:
-
fileexamples that output to static HTML files -
notebookexamples that display inline in Jupyter notebooks -
serverexamples that send output to a Bokeh server, using the python client library for the server