Script execution
This commit is contained in:
@@ -7,7 +7,7 @@ def add_plot(x,y, name=None):
|
||||
global p
|
||||
plots = get_plots(title = title)
|
||||
if len(plots)==0:
|
||||
p = plot(None,name="Data 1")[0]
|
||||
p = plot(None,name=name, title = title)[0]
|
||||
p.setLegendVisible(True)
|
||||
else:
|
||||
p = plots[0]
|
||||
|
||||
Reference in New Issue
Block a user