clvkit.plotting.plot_survival_curve#

plot_survival_curve(curve, *, ax=None, marker='o', **kwargs)[source]#

Draw model-based survival against cohort age.

Each marker is one cohort, placed at the age it had reached by the end of the observation window — so the line is read across cohorts, not along one. The y-axis is pinned to 0–1 because the quantity is a share, and a curve auto-scaled to a narrow band exaggerates decay that isn’t there.

Parameters:
  • curve (SurvivalCurve)

  • ax (Axes | None)

  • marker (str)

Return type:

Axes