environmentaltools.graphics.plot_preview

environmentaltools.graphics.plot_preview(data)[source]

Create an interactive preview scatter plot of spatial data.

Displays a scatter plot with color-coded elevation/depth values and enables click event handling for interactive exploration.

Parameters:

data (pd.DataFrame or dict) – Dataset containing ‘x’, ‘y’ coordinates and ‘z’ values (elevation/depth).