diff --git a/script/local.py b/script/local.py index ec685d8..d157f69 100755 --- a/script/local.py +++ b/script/local.py @@ -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