Muscat.Simple module¶
- PlotMesh(mesh: Mesh, using: str = 'PyVista')[source]¶
Plots a mesh using the specified plotting library.
Parameters: mesh (Mesh): The mesh object to be plotted. using (str): The plotting library to use for visualization. Default is “PyVista”.
Options available are: - “PyVista”: Uses the PyVista library for plotting. - “Plotly”: Uses the Plotly library for plotting. - “Vtk”: Uses the VTK library for plotting.
Imports and uses the appropriate PlotMesh function from the Muscat library based on the chosen plotting library.
Example: PlotMesh(my_mesh, using=”Plotly”)