Options and settings#

API for configuring global behavior. See the User Guide for more.

Working with options#

describe_option(pat[, _print_desc])

Prints the description for one or more registered options.

reset_option(pat)

Reset one or more options to their default value.

get_option(pat)

Retrieves the value of the specified option.

set_option(pat, value)

Sets the value of the specified option.

option_context(*args)

Context manager to temporarily set options in the with statement context.