numeraire_graphics.plot_frontier#
- numeraire_graphics.plot_frontier(frontier: DataFrame, *, points: DataFrame | None = None) plotnine.ggplot[source]#
A mean-variance efficient frontier, optionally overlaid with named portfolios.
Consumes a caller-supplied risk-return frame with columns
riskandreturn(a frontier trace — from an optimizer, or frommean_variance_frontier()), drawn as the frontier curve (geom_line+geom_point). The frontier is not a framework result object, so this is a family-B plotter.pointsoptionally overlays individual portfolios (1/N, GMV, tangency) as labelled markers: a frame withrisk,returnand — for the labels — an optionallabelcolumn. Both frames raise if they lackrisk/return.