differt.plotting.update_defaults#
- update_defaults(backend=None, **kwargs)[source]#
Update default backend and keyword arguments for future plotting utilities.
Like
set_defaults, but it merges the provided keyword arguments with the existing defaults. Context managers, such asuse, use this to temporarily change the defaults without losing previous values, which allows for the nesting of multiple context managers.- Parameters:
backend (
str|None) – The name of the backend to be passed toget_backend.kwargs (
Any) – Keyword arguments that will be passed to the correspondingprocess_*_kwargsfunction, and plot utilities.
- Return type:
Literal['vispy','matplotlib','plotly']- Returns:
The name of the (new) default backend.