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.

Using <code class="docutils literal notranslate"><span class="pre">bokeh</span></code> Commands — Bokeh 1.0.3 documentation

Using bokeh Commands

It is possible to generate various kinds of output from Bokeh programmatically. The use of output_file, output_notebook, etc. has been demonstrated previously in many areas of the User Guide. However, Bokeh also provides a command line tool bokeh that can often offer a more flexible way to generate different kinds of output from the same source code, as well as making it easier to and faster to iterate.

See the Reference Guide section bokeh.command for details.