diff --git a/script/local.py b/script/local.py index e0910c7..08e8d84 100755 --- a/script/local.py +++ b/script/local.py @@ -170,10 +170,12 @@ def add_convex_hull_plot(title, x,y, name=None, clear = False, x_range = None, y if clear: p.clear() p.addSeries(LinePlotSeries(name)) + p.update(False) s = p.getSeries(name) s.setLinesVisible(False) s.setPointSize(3) s.setData(to_array(x,'d') , to_array(y,'d')) + #Convex Hull #In the first time the plot shows, it takes some time for the color to be assigned