PlotterBackend#
- class ansys.dpf.core.plotter.PlotterBackend(*args, **kwds)#
Bases:
enum.EnumPlotter backend types for DPF visualization.
Specifies which plotting backend to use for mesh and field visualization.
Overview#
prefer visualization_interface if available, fallback to pyvista. |
|
Use the legacy PyVista-based plotter directly. |
|
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.