plot_pareto_radar_facets

site.SiteSolutionSet.plot_pareto_radar_facets(
    id_col='solution_rank',
    name_col=None,
    show_site_names=True,
    diff_against=None,
    ncols=3,
    size_per_facet=4.0,
    theme='whitegrid',
    other_color='lightgray',
    palette='tab10',
    show_dominated=False,
    show_raw_labels=True,
    show_value_labels=False,
    title=None,
    caption=None,
    wrap_at=None,
    rank_scope='all',
    scale_to='all',
)

Plot each Pareto-optimal solution on its own radar (spider) chart.

The radar counterpart to plot_pareto_facets(): each facet highlights one option as a filled shape, with the other Pareto-optimal options as faint outlines behind it, and the same title block (included sites, how many designs it beats, and its strengths and sacrifices with their ranks). Further from the centre is always better on every spoke.

As with plot_pareto_radar(), a shape’s area depends on the order of the metrics, so it is not a fair overall score. Needs at least 3 metrics; with fewer, use plot_pareto_facets().

Parameters

Name Type Description Default
id_col str 'solution_rank'
name_col str 'solution_rank'
show_site_names str 'solution_rank'
diff_against str 'solution_rank'
theme str 'solution_rank'
other_color str 'solution_rank'
palette str As in plot_pareto_facets(). 'tab10'
show_raw_labels str As in plot_pareto_facets(). 'tab10'
show_value_labels str As in plot_pareto_facets(). 'tab10'
rank_scope str As in plot_pareto_facets(). 'tab10'
wrap_at int Characters per line in each facet’s title block. Unlike plot_pareto_facets() this is per facet, not per figure, so it isn’t divided by ncols. Defaults to roughly what fits in size_per_facet inches. None
ncols int Facets per row (capped at the number of options). Defaults higher than plot_pareto_facets() because square radar panels tile side by side more naturally than wide line charts. 3
size_per_facet float Width of each facet in inches. Each row is taller than this, to leave room for the title block. 4.0
show_dominated bool If True, also draw every dominated solution as a very faint outline. Off by default – see plot_pareto_radar(). False
title str Figure title. A default is used if not provided; pass “” to suppress it. None
caption str Explanatory text below the chart. A stakeholder-facing default is used if not provided; pass “” to suppress it. None
scale_to ('all', 'pareto_front') Which options each spoke is scaled over, and so what the outer ring and centre mean – see plot_pareto_radar(). Separate from rank_scope, which only sets the set the Strengths/Sacrifices ranks in each title are over. "all"

Returns

Name Type Description
matplotlib.figure.Figure
Back to top