Commit 55625f9a authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[prefix][plotters][user][scatter] izip became just zip in Python 3

parent 7666332d
......@@ -68,7 +68,11 @@ class Plotter:
if not isinstance(self.line_attributes, (list,tuple)):
self.line_attributes = [self.line_attributes]
Z = itertools.izip
try:
Z = itertools.izip
except AttributeError:
Z = zip
C = itertools.cycle
for input, attributes, label in Z(inputs, C(self.line_attributes), C(self.legend)):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment