diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-05-09 09:39:55 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-05-09 07:40:56 +0000 |
commit | 9c9ee70f7f3f4b8e5ba3363cacb2cb0a23eb9b5f (patch) | |
tree | 1e726a40d11c6d66e308ca96a2709ec225c6addf /resources/tools | |
parent | 03feabcc2507e84947c3b68b3f5a236050274f20 (diff) |
CSIT-1492: Add NF density tests
Change-Id: I6723485ce71262de13e703b975a551d97f18e968
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 97ab320c545cb4dffd45545f1b2fa73938919406)
Diffstat (limited to 'resources/tools')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 6792b0bcc1..b07f036c1f 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -1479,7 +1479,7 @@ def plot_service_density_heatmap_compare(plot, input_data): except (KeyError, IndexError): val_c = None if val_c is not None and val_r: - val_d = (val_c - val_r) / val_r + val_d = (val_c - val_r) * 100 / val_r else: val_d = None @@ -1490,7 +1490,7 @@ def plot_service_density_heatmap_compare(plot, input_data): val_c = round(val_c / 1000000, 1) data_c[c - 1].append(val_c) if val_d is not None: - val_d = round(val_d / 10000, 1) + val_d = round(val_d, 1) diff[c - 1].append(val_d) # Colorscales: |