X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=f67945567abf036deae1c923a898a9d106cc244f;hp=25a3736a260ada209e07d3f1248daa8116e6206c;hb=743e8dee5fb3b9fadebc6733d2ab0affc9f8e2ac;hpb=60ecfa318740f00e009e9611be2390fbef5fe92d diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 25a3736a26..f67945567a 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -117,7 +117,7 @@ def plot_service_density_reconf_box_name(plot, input_data): replace('2n1l-', '')) tst_name = "-".join(tst_name.split("-")[3:-2]) name = "{nr}. ({samples:02d} run{plural}, packets lost average: " \ - "{loss:.1f}, {name}".format( + "{loss:.1f}) {name}".format( nr=(i + 1), samples=nr_of_samples[i], plural='s' if nr_of_samples[i] > 1 else '',