"Fossies" - the Fresh Open Source Software Archive

Member "bokeh-2.4.1/examples/plotting/README.md" (13 Oct 2021, 848 Bytes) of package /linux/www/bokeh-2.4.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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: