invert4geom.plot_stochastic_results#
- plot_stochastic_results(stats_ds, points=None, region=None, coast=False, **kwargs)[source]#
Plot the (weighted) standard deviation (uncertainty) and mean of the stochastic ensemble. Optionally, plot points as well.
- Parameters:
stats_ds (
Dataset) β dataset with the merged inversion results, generated from function uncertainty.model_ensemble_stats.points (
DataFrame|None) β dataframe with points to plot, by default Noneregion (
tuple[float,float,float,float] |None) β region to plot in format (xmin, xmax, ymin, ymax), by default Nonecoast (
bool) β add coastline to plots, by default Falsekwargs (
Any)
- Keyword Arguments:
cmap (str, optional) β colormap to use for the ensemble mean, by default βrainβ
unit (str, optional) β unit of the data, by default βmβ
reverse_cpt (bool, optional) β reverse the ensemble mean colormap, by default True
label (str, optional) β label for the colorbar, by default βensemble meanβ
points_label (str, optional) β label for the points, by default None
fig_height (float, optional) β height of the figure, by default 12
- Return type: