differt.plotting.get_backend

Contents

differt.plotting.get_backend#

get_backend(backend=None)[source]#

Return the name of the backend to use.

If None is provided, then the default backend is returned. Otherwise, the backend corresponding to value of backend.

Parameters:

backend (str | None) –

The name of the backend to use, or None to use the current default.

The name is case insensitive.

Return type:

Literal['vispy', 'matplotlib', 'plotly']

Returns:

The name of the backend to use.

Raises: