set_config#

skore.set_config(*, show_progress=None, plot_backend=None)[source]#

Set skore configuration.

Setting the configuration affects global settings meaning that it will be used by all skore functions and classes, even in the processes and threads spawned by skore.

Parameters:
show_progressbool, default=None

If True, show progress bars. Otherwise, do not show them.

plot_backend{“matplotlib”, “plotly”}, default=None

The plotting backend to be used.

  • "matplotlib": Use Matplotlib for plotting

  • "plotly": Use Plotly for plotting

  • None: Plotting backend is unchanged

See also

config_context

Context manager for skore configuration.

get_config

Retrieve current values of the configuration.

Examples

>>> # xdoctest: +SKIP
>>> from skore import set_config
>>> set_config(show_progress=False, plot_backend="plotly")