gemgis.visualization.get_mesh_geological_map
gemgis.visualization.get_mesh_geological_map#
- gemgis.visualization.get_mesh_geological_map(geo_model) Tuple[pyvista.core.pointset.PolyData, matplotlib.colors.ListedColormap, bool] #
Getting the geological map of a GemPy Model draped over the topography as mesh. Borrowed from https://github.com/cgre-aachen/gempy/blob/6aed72a4dfa26830df142a0461294bd9d21a4fa4/gempy/plot/vista.py#L512-L604
- Parameters
geo_model (gp.core.model.Project) – Previously calculated GemPy Model
- Returns
polydata (pv.core.PolyData) – PyVista Mesh containing the geological map draped over the topography
cm (matplotlib.colors.ListedColormap) – Colormap for plotting
rgb (bool) – Boolean to use
rgb=True
when plotting
New in version 1.0.x.