a few more calls to list() for py3
[nepi.git] / examples / ccn_emu_live / planetlab_4_nodes_linear.py
index bb3b449..e373619 100644 (file)
@@ -108,7 +108,7 @@ def post_process(ec, runs):
     low = numpy.array([float(m[1]) for m in metrics])
     high = numpy.array([float(m[2]) for m in metrics])
     error = [y - low, high - y]
-    x = list(range(1,runs + 1))
+    x = range(1,runs + 1)
 
     # plot average RTT and confidence interval for each iteration
     pyplot.errorbar(x, y, yerr = error, fmt='o')