Commit a7e484b9 authored by Stanislav Bohm's avatar Stanislav Bohm

FIX: Fixed problem with limited colors

parent 201ba8e4
......@@ -13,7 +13,7 @@ def generate_colors(count):
h = float(stop - start) / (n - 1)
for i in range(n):
yield start + h * i
return plt.cm.Set2(list(linspace(0, 1, 12)))
return plt.cm.Set2(list(linspace(0, 1, count)))
def dot_color(color):
......
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