amep.plot.style#
- amep.plot.style(style_name: str = '', mpl_default: bool = False) None#
Set the plot style.
Note
Deprecates in 2.0.0 mpl_default: bool will be removed in an upcoming major release. Please use “matplotlib”. “amep_latex” and “amep_standard” will be removed. Please use “latex” and “standard” instead.
- Parameters:
style_name (str, optional) – Specifies the name of the style to apply. Apart from the Matplotlib styles, one can choose the AMEP styles ‘amep_latex’ and ‘amep_standard’. The AMEP styles are used per default when AMEP is imported. Please switch to the modes “latex”, “standard” for AMEP-styles and “matplotlib” for the default matplotlib style. Any other ‘style_name’ is forwarded to ‘matplotlib.pyplot.style.use(style_name)’.
mpl_default (bool, optional) – Determines whether to apply a style or revert to the default pyplot style. The default is False.
- Return type:
None.