Skip to content

Commit

Permalink
More whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Mar 14, 2024
1 parent 12946c7 commit d1069cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/benchcomp/benchcomp/visualizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _get_template():
{% for metric, benchmarks in d["metrics"].items() %}
## {{ metric }}
{% if scatterplot and metric in d["scaled_metrics"] and d["scaled_variants"][metric]|length == 2 %}
{% if scatterplot and metric in d["scaled_metrics"] and d["scaled_variants"][metric]|length == 2 -%}
```mermaid
%%{init: { "quadrantChart": { "chartWidth": 400, "chartHeight": 400, "pointRadius": 2, "pointLabelFontSize": 3 }, "themeVariables": { "quadrant1Fill": "#FFFFFF", "quadrant2Fill": "#FFFFFF", "quadrant3Fill": "#FFFFFF", "quadrant4Fill": "#FFFFFF", "quadrant1TextFill": "#FFFFFF", "quadrant2TextFill": "#FFFFFF", "quadrant3TextFill": "#FFFFFF", "quadrant4TextFill": "#FFFFFF", "quadrantInternalBorderStrokeFill": "#FFFFFF" } }%%
quadrantChart
Expand All @@ -258,10 +258,10 @@ def _get_template():
quadrant-4 4
{% for bench_name, bench_variants in d["scaled_metrics"][metric].items () -%}
{{ bench_name }}: [{{ bench_variants[d["scaled_variants"][metric][0]] }}, {{ bench_variants[d["scaled_variants"][metric][1]] }}]
{% endfor %}
{%- endfor %}
```
{% endif %}
{% endif -%}
| Benchmark | {% for variant in d["variants"][metric] %} {{ variant }} |{% endfor %}
| --- |{% for variant in d["variants"][metric] %} --- |{% endfor -%}
{% for bench_name, bench_variants in benchmarks.items () %}
Expand Down

0 comments on commit d1069cb

Please sign in to comment.