Script execution

This commit is contained in:
sfop
2016-06-16 16:58:11 +02:00
parent 20782225d1
commit b07d2e18f5

View File

@@ -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]