andrey.viz.mpl.use#
- andrey.viz.mpl.use(dark=False)[source]#
Apply the style to the global matplotlib rcParams, for the rest of the process.
- Parameters:
dark (
bool) – Select the dark palette instead of the light one.- Raises:
ModuleNotFoundError – If matplotlib is not installed. Install the extra:
pip install 'andrey-core[viz]'.
See also
contextScope the same style to a
withblock instead of the whole process.
- Return type: