pv_plot

subsurface.visualization.to_pyvista.pv_plot(meshes: list, image_2d=False, ve=None, plotter_kwargs: Optional[dict] = None, add_mesh_kwargs: Optional[dict] = None, background_plotter=False)[source]

Function to plot meshes in vtk using pyvista

Parameters
  • meshes (List[pv.PolyData]) –

  • image_2d (bool) – If True convert plot to matplotlib imshow. This helps for visualizing the plot in IDEs

  • ve (float) – vertical exaggeration

  • plotter_kwargs (dict) – pyvista.Plotter kwargs

  • add_mesh_kwargs (dict) – pyvista.add_mesh kwargs

  • background_plotter (bool) – if true and pyvistaqt installed use pyvista backgroung plotter.