numeraire_graphics.plot_metric_by#
- numeraire_graphics.plot_metric_by(results: DataFrame, *, metric: str, x: str = 'method') plotnine.ggplot[source]#
A bar chart of a summary
metricacross a grouping columnx(method, universe, …).Filters
resultsto the scalarmetric(one row per group, e.g."sharpe") and drawsgeom_col. When a confidence interval is derivable — explicitci_low/ci_high, a standard-error columnse, or repeated rows per group — it is added asgeom_errorbarwhiskers; otherwise the bars stand plain. A zero reference line anchors signed metrics.