Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e109c52
)
Report: NFV density - diff as integer
03/19503/1
author
Tibor Frank
<tifrank@cisco.com>
Fri, 10 May 2019 12:31:53 +0000
(14:31 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Fri, 10 May 2019 12:33:17 +0000
(12:33 +0000)
Change-Id: Iab093484375418765812707935193b35d8b07d3e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit
97b7e5fc8b7c1fc8127bc23b383167f04684b5ee
)
resources/tools/presentation/generator_plots.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/generator_plots.py
b/resources/tools/presentation/generator_plots.py
index
b07f036
..
b3e28dd
100644
(file)
--- a/
resources/tools/presentation/generator_plots.py
+++ b/
resources/tools/presentation/generator_plots.py
@@
-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_c = round(val_c / 1000000, 1)
data_c[c - 1].append(val_c)
if val_d is not None:
- val_d =
round(val_d, 1
)
+ val_d =
int(round(val_d, 0)
)
diff[c - 1].append(val_d)
# Colorscales:
diff[c - 1].append(val_d)
# Colorscales: