gemmr.plot.mean_metric_curve

gemmr.plot.mean_metric_curve(metric, rs=(0.1, 0.3, 0.5), n_per_ftr_typical=5, ylabel=None)

Plots mean curves for given rs as a function of n_per_ftr.

Parameters:
  • metric (xr.DataArray) – must have dimensions r and n_per_ftr, all other dimensions are averaged over

  • rs (tuple-like) – separate curves are plotted for each entry of rs

  • n_per_ftr_typical (int or None) – if not None, a vertical dashed line is plotted at this value

  • ylabel (str or None) – y-label

Returns:

panel

Return type:

hv.Overlay