Skip to content

API reference

vizta.mpl.set_theme(context='notebook', style='talusbio', font_scale=1)

Get the parameters that control the general style of the plots.

This function can also be used as a context manager to temporarily alter the global defaults.

PARAMETER DESCRIPTION
context

The scaling parameters. Can be one of paper notebook, talk, or poster. See seaborn.plotting_context.

TYPE: str or dict DEFAULT: 'notebook'

style

The name of a preconfigured style. Currently either talusbio or wfondrie.

TYPE: str DEFAULT: 'talusbio'

font_scale

Separate scaling factor to independently scale the size of the font elements

TYPE: float DEFAULT: 1

RETURNS DESCRIPTION
primary_color

The primary color for the plot elements.

TYPE: str

accent_color

The accent color for the plot elements.

TYPE: str