Reference¶
This section provides the complete public API reference for Bokeh, auto-generated from the docstrings in the project source code.
The full list of sections for all the modules in Bokeh is accessible from the sidebar to the left. Listed below are a few selected sections that may be especially useful.
- bokeh.models
Everything that comprises a Bokeh plot or application—tools, controls, glyphs, data sources—is a Bokeh Model. Bokeh models are configured by setting values their various properties. This large section has a reference for every Bokeh model, including information about every property of each model.
- bokeh.plotting
The bokeh.plotting API is centered around the
figure()
command and the associated glyph functions such ascircle()
,wedge()
, etc. This section has detailed information on these elements.- bokeh.layouts
The simplest way to combine multiple Bokeh plots and controls in a single document is to use the layout functions such as
row()
,column()
, etc. from thebokeh.layouts
module.- bokeh.io
Functions for controlling where and how Bokeh documents are saved or shown, such as
output_file()
andoutput_notebook()
, are in this module.- bokeh.palettes
This section provides visual representations of all the palettes built into Bokeh.
- bokeh.settings
All Bokeh-related environment variables, which can be used to control things like resources, minification, and log levels, are documented here.