Muscat.Simple module

PlotMesh(mesh: Mesh, using: str = 'PyVista')[source]

Plot a mesh using the specified plotting library.

Parameters:
  • mesh (Mesh) – Mesh object to plot.

  • using (str, optional) – Plotting library to use for visualization. Available options are "PyVista", "Plotly" and "Vtk". Defaults to "PyVista".

Examples

>>> PlotMesh(my_mesh, using="Plotly")