apply_style#

ReportPlotter.apply_style(style_name: str) bool#

Apply a custom matplotlib style (e.g. background_dark).

Parameters:
style_namestr

Matplotlib style name.

Returns:
bool

Examples

>>> from ansys.aedt.core.visualization.plot.matplotlib import ReportPlotter
>>> obj = ReportPlotter()
>>> obj.apply_style("background_dark")