arviz_plots.style.use

Contents

arviz_plots.style.use#

arviz_plots.style.use(name)[source]#

Set an arviz style as the default style/template for all available backends.

The style will be set for all backends that support it and have it available. The supported backends are Matplotlib, Plotly and Bokeh. You can use arviz_plots.style.available() to check which styles are available. The ones that works for all backends are listed under the ‘common’ key.

Parameters:
namestr

Name of the style to be set as default.

Raises:
ValueError

If the style with the given name is not found.