Commit 4007377e authored by Ivo Peterek's avatar Ivo Peterek

FIX: shuffle colours in legend only if there is more than 30 items. #8

parent e6c8c753
......@@ -583,7 +583,8 @@ class Window(QtWidgets.QDialog):
self.funcmax = 0
colors =, 1, self.n))
if len(colors) > 30:
for m in range(0,self.n):
X = [x[0] for x in self.K[m]]
Y = [x[1] for x in self.K[m]]
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