Back to Bokeh

Bokeh Plotting Examples

examples/plotting/README.md

3.10.0.dev4599 B
Original Source

Bokeh Plotting Examples

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)