{# Figures F2-F5 as inline SVG (D4 section 6; D5 section 3.4). Every coordinate comes from proofpack.render.figures, which puts run.json's arrays through the documented linear map written on each plot group as data-map. Marks: the series in ink (solid), reference lines ink-faint dashed, the customer-criterion line ink-faint dashed and heavier with its author and date, intervals 1.5px, operating points hollow circles labelled with their id, the histogram strip the one filled mark (fill line). No shaded region. #} {% macro axes(f) -%} {% for t in f.ticks.x %}{{ t.label }} {% endfor %} {% for t in f.ticks.y %}{{ t.label }} {% endfor %} {%- endmacro %} {% macro curve_figure(f) -%}
{{ f.title }} {{ f.desc }} {{ axes(f) }} {% for mk in f.markers %} {{ mk.op }} {% endfor %} {{ f.xlabel }} {{ f.ylabel }} {{ f.legend }}
{{ f.title }}. {{ f.caption }}.
{%- endmacro %} {% macro calibration_figure(f) -%}
{{ f.title }} {{ f.desc }} {{ axes(f) }} {% for b in f.bars %} {% endfor %} {% for p in f.points %} {% endfor %} {% for s in f.strip %} {% endfor %} {{ f.xlabel }} {{ f.ylabel }} {{ f.legend }} {% if f.flag_short %}{{ f.flag_short }}{% endif %} Histogram strip: predicted risks per decile bin (bar height n)
{{ f.title }}. {{ f.caption }}{% if f.flag %}; {{ f.flag }}{% endif %}.
{%- endmacro %} {% macro forest_figure(f) -%}
{{ f.title }} {{ f.desc }} {% if f.reference %}{% endif %} {% for c in f.criteria %} {{ c.label }}: {{ c.value }} {% endfor %} {% for r in f.rows %}{{ r.label }} {% if r.drawn %} {% endif %}{{ r.value }} {% endfor %} {% for t in f.axis.ticks %}{{ t.label }} {% endfor %}
{{ f.title }}. {{ f.caption }}.
{%- endmacro %}