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 declared through explicitci_low/ci_highor a standard-error columnse, it is added asgeom_errorbarwhiskers; otherwise the bars stand plain. Repeated rows for onexvalue raise because universes, vintages, and runs are not IID replicates. A zero reference line anchors signed metrics.