theme module#

The visualization_toolkit relies on standard themes to keep a consistent style through out all displayed assests.

The style is based on company branding guidelines and visualization best-practices. However, each function allows for customization to override the defaults should it be required.

Plotly Theme#

The following theme is applied to all Plotly go.Figure objects.

visualization_toolkit.helpers.plotly.theme.COLORS[source]#

Standard colors used in Plotly chart components.

visualization_toolkit.helpers.plotly.theme.YD_CLASSIC_THEME_CONFIG[source]#

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s

(key, value) pairs

dict(iterable) -> new dictionary initialized as if via:

d = {} for k, v in iterable:

d[k] = v

dict(**kwargs) -> new dictionary initialized with the name=value pairs

in the keyword argument list. For example: dict(one=1, two=2)