invert4geom.plot_prism_layers#
- plot_prism_layers(prisms, cmap='viridis', color_by='density', region=None, opacity=1, zscale=75, log_scale=False, clip_box=False, box_buffer=5000.0, show_axes=True, camera_position='xz', elevation=20, azimuth=-25, zoom=1.2, backend='static', cbar_args=None, constant_colors=None, show_edges=False)[source]#
show prism layers using PyVista
- Parameters:
prisms (
list[Dataset] |Dataset) – either a single harmonica prism layer of list of layers,cmap (
str) – matplotlib colorscale to use, by default “viridis”color_by (
str) – either use a variable of the prism_layer dataset, typically ‘density’ or ‘thickness’, or choose ‘constant’ to have each layer colored by a unique color use kwarg colors to alter these colors, by default is “density”region (
tuple[float,float,float,float] |None) – region to clip the model to, by default Noneclip_box (
bool) – clip a corner out of the model to help visualize, by default Falseopacity (
float)zscale (
float)log_scale (
bool)box_buffer (
float)show_axes (
bool)camera_position (
str)elevation (
float)azimuth (
float)zoom (
float)backend (
str)show_edges (
bool)
- Return type: