PlotterBackend#

class ansys.dpf.core.plotter.PlotterBackend(*args, **kwds)#

Bases: enum.Enum

Plotter backend types for DPF visualization.

Specifies which plotting backend to use for mesh and field visualization.

Overview#

AUTO

prefer visualization_interface if available, fallback to pyvista.

PYVISTA

Use the legacy PyVista-based plotter directly.

VISUALIZATION_INTERFACE

Use ansys-tools-visualization-interface Plotter with PyVista backend.

Import detail#

from ansys.dpf.core.plotter import PlotterBackend

Attribute detail#

PlotterBackend.AUTO = 'auto'#

prefer visualization_interface if available, fallback to pyvista.

Type:

Automatically select backend

PlotterBackend.PYVISTA = 'pyvista'#

Use the legacy PyVista-based plotter directly.

PlotterBackend.VISUALIZATION_INTERFACE = 'visualization_interface'#

Use ansys-tools-visualization-interface Plotter with PyVista backend.