xdem.spatialstats.plot_1d_binning#
- xdem.spatialstats.plot_1d_binning(df, var_name, statistic_name, label_var=None, label_statistic=None, min_count=30, ax=None, out_fname=None)[source]#
Plot a statistic and its count along a single binning variable. Input is expected to be formatted as the output of the xdem.spatialstats.nd_binning function.
- Parameters:
df (
DataFrame
) – Output dataframe of nd_binningvar_name (
str
) – Name of binning variable to plotstatistic_name (
str
) – Name of statistic of interest to plotlabel_statistic (
str
|None
) – Label of statistic of interestmin_count (
int
) – Removes statistic values computed with a count inferior to this minimum valueax (
Axes
|None
) – Plotting ax to use, creates a new one by defaultout_fname (
str
) – File to save the variogram plot to
- Return type: