uvisbox.Modules.UncertaintyTube.uncertainty_tubes_vis
Module Contents
- uvisbox.Modules.UncertaintyTube.uncertainty_tubes_vis.visualize_uncertainty_tubes(mesh_data, colormap='viridis', clim=None, plotter=None)[source]
Visualize 3D uncertainty tubes using either Matplotlib or PyVista.
- Parameters:
(dict) (mesh_data) – Dictionary containing “vertices”, “faces”, and “uv_coords” from uncertainty_tube_mesh.
(str (colormap) – Colormap to use for rendering the tube. Defaults to “viridis”.
optional) – Colormap to use for rendering the tube. Defaults to “viridis”.
pyvista.Plotter (plotter (matplotlib.axes.Axes or) – The plotting object to use. If None, a new Matplotlib figure/axis is created. If a Matplotlib Axes3D object, it plots on that. If a PyVista Plotter object, it adds the mesh to it.
optional) – The plotting object to use. If None, a new Matplotlib figure/axis is created. If a Matplotlib Axes3D object, it plots on that. If a PyVista Plotter object, it adds the mesh to it.
- Returns:
matplotlib.axes.Axes or pyvista.Plotter
- Return type:
The plotting object with the visualization.