voiage.plot.voi_curves.plot_coss
plot_coss
Section titled “plot_coss”plot_coss([positional or keyword] result: CossResultV1 | CossPlotDataV1 = None, [keyword-only] ax: Axes | None = None, [keyword-only] xlabel: str = 'Sample size', [keyword-only] ylabel: str = 'Expected net benefit of sampling', [keyword-only] title: str = 'Curve of Optimal Sample Size') -> AxesRender the governed COSS plotting contract with accessible encodings.
The plot uses colour, marker shape, and line style together so feasible,
infeasible, and selected designs remain distinguishable without relying on
colour alone. The input is the backend-independent plot payload embedded
in :class:~voiage.contracts.CossResultV1, or that payload directly.
Parameters:
resultCossResultV1 | CossPlotDataV1axAxes | None(default:None)xlabelstr(default:'Sample size')ylabelstr(default:'Expected net benefit of sampling')titlestr(default:'Curve of Optimal Sample Size')
Returns: Axes