differt.plotting.get_backend#
- get_backend(backend=None)[source]#
Return the name of the backend to use.
If
Noneis provided, then the default backend is returned. Otherwise, the backend corresponding to value ofbackend.- Parameters:
The name of the backend to use, or
Noneto use the current default.The name is case insensitive.
- Return type:
Literal['vispy','matplotlib','plotly']- Returns:
The name of the backend to use.
- Raises:
ValueError – If the backend is not supported.
ImportError – If the backend is not installed.