PAL: Fix plots generator
[csit.git] / resources / tools / presentation / generator_plots.py
index 1bfbda1..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:
@@ -1046,6 +1046,8 @@ def plot_tsa_name(plot, input_data):
                 limit = plot[u"limits"][u"nic"][u"x553"]
             elif u"cx556a" in test_name:
                 limit = plot[u"limits"][u"nic"][u"cx556a"]
+            elif u"e810cq" in test_name:
+                limit = plot[u"limits"][u"nic"][u"e810cq"]
             else:
                 limit = 0
             if limit > nic_limit: