X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=7c8a9f8628cd7a43b342a191752976e1ce87cebf;hp=b07f036c1fa943d37aebc7532896558ff272ed58;hb=0ca4a9ec1a8fc53a679b1c635a6e1b6afae0299d;hpb=97ab320c545cb4dffd45545f1b2fa73938919406 diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index b07f036c1f..7c8a9f8628 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -99,6 +99,9 @@ def plot_performance_box(plot, input_data): append(test["throughput"]["NDR"]["LOWER"]) else: continue + elif test["type"] in ("SOAK", ): + y_vals[test["parent"]].\ + append(test["throughput"]["LOWER"]) else: continue except (KeyError, TypeError): @@ -167,7 +170,7 @@ def plot_performance_box(plot, input_data): logging.error(repr(err)) continue if val_max: - y_max.append(int(val_max / 1000000) + 1) + y_max.append(int(val_max / 1000000) + 2) try: # Create plot @@ -1490,7 +1493,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, 1) + val_d = int(round(val_d, 0)) diff[c - 1].append(val_d) # Colorscales: