plots.plot_trajectories_facet()
Small-multiples plot of multiple players’ aging curves.
Usage
plots.plot_trajectories_facet(
careers_by_name, y_col, age_col="Age", ncol=2, lower_better=False
)careers_by_name maps a display name to that player’s per-season Polars frame (must contain age_col and y_col). Each player gets its own panel with raw seasons (scatter) and a quadratic fit (solid line). Panels with fewer than three valid seasons render a “Not enough seasons” placeholder.