plot_combination_by_equity
site.SiteSolutionSet.plot_combination_by_equity(
solution_rank=1,
sort_by=None,
ncols=3,
cmap='Blues',
share_colorbar=True,
outline_color='grey',
figsize_multiplier=4,
groups_to_include='all',
groupings=None,
matrix=None,
**kwargs,
)Plot maps of travel cost for each equity group, for one solution.
matrix : str, optional Label of a secondary travel matrix registered via add_secondary_travel_matrix(). If provided, regions are coloured by that matrix’s own min-cost column instead of the primary travel matrix.
Notes
Each panel’s title includes the region count and population headcount actually in that group, e.g. “IMD decile: 1 (12 regions, 4,821 people)”. Without this, a group with very little demand looks identical to a well-served one – both render as a near-empty map – so a reader can’t tell “few areas here” from “no problem here”.