X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=cc9d880398aedc69dc5f2a60b4df561b8fcda10e;hb=d72a98e2c4d61ef8660f7778347a0c383600eaa5;hp=ce1fbd32f87b9d0ecfdef824c79a75bda46cf790;hpb=3055ecfbb0b619318f7cfbbb18ba142968b4c617;p=csit.git diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index ce1fbd32f8..cc9d880398 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -795,7 +795,10 @@ def plot_perf_box_name(plot, input_data): try: val_max = max(df_y[col]) if val_max: - y_max.append(int(val_max / 1e6)) + if test_type in (u"VSAP_CPS", u"VSAP_RPS"): + y_max.append(int(val_max)) + else: + y_max.append(int(val_max / 1e6)) except (ValueError, TypeError) as err: logging.error(repr(err)) continue