aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_plots.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-02-05 10:49:47 +0100
committerTibor Frank <tifrank@cisco.com>2020-02-05 09:54:25 +0000
commit064d78fb1a7ce90cc74433f3e22bbb7155169f24 (patch)
tree6a99580d4c1bf329628f09e777c9f7edc2c19aba /resources/tools/presentation/generator_plots.py
parent28aecf58bf711fc25a1a3bd73b3be48804d80698 (diff)
Report: Add data
Change-Id: I58c85e6dccca28d402e6a54cf49ce5eebcdd5b1b Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit d639b4d35441078219c77a887d222d26d42ebeff)
Diffstat (limited to 'resources/tools/presentation/generator_plots.py')
-rw-r--r--resources/tools/presentation/generator_plots.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index da015ddf10..729c2cc72c 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -1624,15 +1624,12 @@ def plot_nf_heatmap(plot, input_data):
plpl = plgo.Figure(data=traces, layout=layout)
# Export Plot
- logging.info(
- f" Writing file {plot[u'output-file']}"
- f"{plot[u'output-file-type']}."
- )
+ logging.info(f" Writing file {plot[u'output-file']}.html")
ploff.plot(
plpl,
show_link=False,
auto_open=False,
- filename=f"{plot[u'output-file']}{plot[u'output-file-type']}"
+ filename=f"{plot[u'output-file']}.html"
)
except PlotlyError as err:
logging.error(