Script execution

This commit is contained in:
x03daop
2017-04-12 11:57:43 +02:00
parent 83b2a45671
commit 6668195361
+2 -1
View File
@@ -107,8 +107,9 @@ task = None
def plot_cur_spectrum():
global spectrum_series
try:
time.sleep(5.0)
while get_context().state.running:
if spectrum_series is None and len(get_plots()) >= 1:
if spectrum_series is None:
print "create new plot"
names = "Scienta spectrum"
plots = plot(None, names)