Script execution

This commit is contained in:
x03daop
2017-04-12 11:56:54 +02:00
parent bbc85ddb83
commit 83b2a45671

View File

@@ -108,7 +108,7 @@ def plot_cur_spectrum():
global spectrum_series
try:
while get_context().state.running:
if spectrum_series is None:
if spectrum_series is None and len(get_plots()) >= 1:
print "create new plot"
names = "Scienta spectrum"
plots = plot(None, names)