settings#

To display all available Bokeh settings and their current values, type bokeh settings on the command line.

bokeh settings

This will print all settings to standard output, such as:

Bokeh Settings:
==========================================================================
Setting                      Environment Variable              Value
--------------------------------------------------------------------------
allowed_ws_origin            BOKEH_ALLOW_WS_ORIGIN             []
auth_module                  BOKEH_AUTH_MODULE                 None
browser                      BOKEH_BROWSER                     None
cdn_version                  BOKEH_CDN_VERSION                 None
chromedriver_path            BOKEH_CHROMEDRIVER_PATH           None
compression_level            BOKEH_COMPRESSION_LEVEL           9
cookie_secret                BOKEH_COOKIE_SECRET               None
default_server_host          BOKEH_DEFAULT_SERVER_HOST         localhost
default_server_port          BOKEH_DEFAULT_SERVER_PORT         5006
docs_cdn                     BOKEH_DOCS_CDN                    None
docs_version                 BOKEH_DOCS_VERSION                None
ico_path                     BOKEH_ICO_PATH                    /path/to/ico
ignore_filename              BOKEH_IGNORE_FILENAME             False
log_level                    BOKEH_LOG_LEVEL                   info
minified                     BOKEH_MINIFIED                    True
nodejs_path                  BOKEH_NODEJS_PATH                 None
perform_document_validation  BOKEH_VALIDATE_DOC                True
pretty                       BOKEH_PRETTY                      False
py_log_level                 BOKEH_PY_LOG_LEVEL                None
resources                    BOKEH_RESOURCES                   cdn
rootdir                      BOKEH_ROOTDIR                     None
secret_key                   BOKEH_SECRET_KEY                  None
serialize_include_defaults   BOKEH_SERIALIZE_INCLUDE_DEFAULTS  False
sign_sessions                BOKEH_SIGN_SESSIONS               False
simple_ids                   BOKEH_SIMPLE_IDS                  True
ssl_certfile                 BOKEH_SSL_CERTFILE                None
ssl_keyfile                  BOKEH_SSL_KEYFILE                 None
ssl_password                 BOKEH_SSL_PASSWORD                None
validation_level             BOKEH_VALIDATION_LEVEL            none
xsrf_cookies                 BOKEH_XSRF_COOKIES                False
--------------------------------------------------------------------------

This will display all available Bokeh settings in a table format with their current values and environment variables.

To get detailed help for a specific setting, use the -v option:

bokeh settings -v log_level
bokeh settings -v minified

This will show detailed information about the specified setting including its help text, default values, and current value.

class Settings(parser: ArgumentParser)[source]#

Subcommand to print information about Bokeh settings.

invoke(args: Namespace) None[source]#