aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-04-15 14:10:09 +0200
committerTibor Frank <tifrank@cisco.com>2020-04-15 12:15:10 +0000
commit9029082b52bfdc8465a1ef7433d58bd85c2c1f31 (patch)
treeb336b747aa913ff867e8c26797f5cea087f55261 /resources
parent18da068875ed425ba48dcb8d3eed6d473f02562c (diff)
Report: Current vs. Previous
Change-Id: Ic6cdabf65846a0d7d1e38025a1a7459947aed385 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 68ad5eab0fe4aacde4a813cd052a34aab25adc07)
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py20
1 files changed, 12 insertions, 8 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index ebbfbbc03f..c99ea68f4c 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -552,7 +552,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
align=params[u"align-hdr"][idx],
font=dict(
family=u"Courier New",
- size=13
+ size=12
)
)
@@ -571,7 +571,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
align=params[u"align-itm"][idx],
font=dict(
family=u"Courier New",
- size=13
+ size=12
)
)
)
@@ -617,7 +617,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
align=params[u"align-itm"][idx],
font=dict(
family=u"Courier New",
- size=13
+ size=12
)
)
)
@@ -644,7 +644,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
)
if title:
rst_file.write(f"{title}\n")
- rst_file.write(f"{u'~' * len(title)}\n\n")
+ rst_file.write(f"{u'`' * len(title)}\n\n")
rst_file.write(
u".. raw:: html\n\n"
f' <iframe frameborder="0" scrolling="no" '
@@ -1009,7 +1009,8 @@ def table_perf_comparison(table, input_data):
tbl_lst,
table[u'output-file'],
legend=legend,
- footnote=footnote
+ footnote=footnote,
+ title=table.get(u"title", u"")
)
@@ -1379,7 +1380,8 @@ def table_perf_comparison_nic(table, input_data):
tbl_lst,
table[u'output-file'],
legend=legend,
- footnote=footnote
+ footnote=footnote,
+ title=table.get(u"title", u"")
)
@@ -1553,7 +1555,8 @@ def table_nics_comparison(table, input_data):
header,
tbl_lst,
table[u'output-file'],
- legend=legend
+ legend=legend,
+ title=table.get(u"title", u"")
)
@@ -1733,7 +1736,8 @@ def table_soak_vs_ndr(table, input_data):
header,
tbl_lst,
table[u'output-file'],
- legend=legend
+ legend=legend,
+ title=table.get(u"title", u"")
)