diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-02-19 13:00:54 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-02-20 07:21:31 +0000 |
commit | 223516c8592161568843cb1c19c009411f476f24 (patch) | |
tree | 18c2c24c905e3370bc8620f244cea775b938e945 /resources/tools/presentation/generator_CPTA.py | |
parent | 8577b4441fd99d1db694e6e9f07801c35ac17748 (diff) |
CSIT-1436: Add titles to plots in Trending
CSIT-1435: Remove index from Trending
Change-Id: I616b055d7ad12f241df5fa43fb121d20ef7d7e23
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_CPTA.py')
-rw-r--r-- | resources/tools/presentation/generator_CPTA.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index 5d088ca94e..b42b639fe4 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -399,8 +399,8 @@ def _generate_all_charts(spec, input_data): if traces: # Generate the chart: - graph["layout"]["xaxis"]["title"] = \ - graph["layout"]["xaxis"]["title"].format(job=job_name) + graph["layout"]["title"] = \ + "<b>{title}</b>".format(title=graph.get("title", "")) name_file = "{0}-{1}{2}".format(spec.cpta["output-file"], graph["output-file-name"], spec.cpta["output-file-type"]) |