holoviews.util.settings module#

class holoviews.util.settings.KeywordSettings[source]#

Bases: object

Base class for options settings used to specified collections of keyword options.

Methods

extract_keywords(line, items)

Given the keyword string, parse a dictionary of options.

get_options(items, options, warnfn)

Given a keyword specification, validate and compute options

update_options(options, items)

Allows updating options depending on class attributes and unvalidated options.

classmethod extract_keywords(line, items)[source]#

Given the keyword string, parse a dictionary of options.

classmethod get_options(items, options, warnfn)[source]#

Given a keyword specification, validate and compute options

classmethod update_options(options, items)[source]#

Allows updating options depending on class attributes and unvalidated options.

class holoviews.util.settings.OutputSettings[source]#

Bases: KeywordSettings

Class for controlling display and output settings.

Attributes:
last_backend

Methods

update_options(options, items)

Switch default options and backend if new backend is supplied in items.

initialize

missing_backend_exception

missing_dependency_exception

output

set_backend

classmethod update_options(options, items)[source]#

Switch default options and backend if new backend is supplied in items.

holoviews.util.settings.list_formats(format_type, backend=None)[source]#

Returns list of supported formats for a particular backend.