Script execution

This commit is contained in:
sfop
2016-06-27 16:45:30 +02:00
parent be66e62b42
commit 76ee9c7bf4
+3 -1
View File
@@ -177,8 +177,10 @@ def add_convex_hull_plot(title, x,y, name=None, clear = False, x_range = None, y
#Convex Hull
#In the first time the plot shows, it takes some time for the color to be assigned
while s.color is None:
timmeout = 0
while s.color is None and timeout<1000:
time.sleep(0.001)
timeout = timeout + 1
hull = LinePlotSeries(name + "Hull", s.color)
p.addSeries(hull)
#Bounding box