plots.plot_peak_vs_curvature()

Scatter of fitted peak age vs curvature, with player labels.

Usage

plots.plot_peak_vs_curvature(fits_by_name)

fits_by_name maps a display name to a fit dict from model.fit_aging_curve (uses peak_age and C) or model.fit_player_curve (uses peak_age and curvature). Players whose peak couldn’t be computed (non-concave fit) are skipped.