Script execution
This commit is contained in:
1 parent
20782225d1
commit
b07d2e18f5
1 file changed
+1
-1
@@ -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