aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
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 14:11:45 +0200
commit68ad5eab0fe4aacde4a813cd052a34aab25adc07 (patch)
treea8c9a5c0e9af885cbce3d7d12de0e7128d56dfeb /resources/tools/presentation/generator_tables.py
parent3f2ecafbe60b3664ab7b18ecfe8e4acb46a3cd3b (diff)
Report: Current vs. Previous
Change-Id: Ic6cdabf65846a0d7d1e38025a1a7459947aed385 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-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 8ebeadd13a..468b9c642d 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"")
)