Script execution
This commit is contained in:
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user