PAL: Fix plots generator 88/32188/1
authorTibor Frank <tifrank@cisco.com>
Mon, 3 May 2021 10:17:03 +0000 (12:17 +0200)
committerTibor Frank <tifrank@cisco.com>
Mon, 3 May 2021 10:17:03 +0000 (12:17 +0200)
Csth hange-Id: I960c575841a92687a1272c905bbcc057de4a737e
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: Idb1bad40d7bd138f072f84377c4706bfcce19238
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/generator_plots.py

index 965951a..39b6f9b 100644 (file)
@@ -91,7 +91,7 @@ def generate_plots(spec, data):
     for index, plot in enumerate(spec.plots):
         try:
             logging.info(f"  Plot nr {index + 1}: {plot.get(u'title', u'')}")
-            plot[u"limits"] = spec.configuration[u"limits"]
+            plot[u"limits"] = spec.environment[u"limits"]
             generator[plot[u"algorithm"]](plot, data)
             logging.info(u"  Done.")
         except NameError as err: