This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

Bokeh Docs

bokeh

The bokeh module itself contains a few useful functions and attributes:

__version__ = currently installed version of Bokeh
license()

Print the Bokeh license to the console.

Returns:None
test(args=None)

Run the Bokeh unit tests under the bokeh python directory using py.test.

Note

Does not run any BokehJS, examples, or integration tests.

Parameters:args (list, optional) –

command line arguments accepted by py.test

For example, args=['-s', '-k charts'] prevents capture of standard out and only runs tests that match "charts". For more py.test options see http://pytest.org/latest/usage.html.

Returns:py.test exitcode
Return type:int