You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foriinrange(5):
loop=qc.Loop(dac.ch1.sweep(0, 10, 0.5), delay=0.1).each(dmm.voltage)
data=loop.get_data_set(name='testsweep')
plot_1d=qc.QtPlot() # create a plotplot_1d.add(data.dmm_voltage) # add a graph to the plot_=loop.with_bg_task(plot_1d.update, plot_1d.save).run() # run the loop
results in all but the latest figure getting closed
but
plots= []
foriinrange(5):
loop=qc.Loop(dac.ch1.sweep(0, 10, 0.5), delay=0.1).each(dmm.voltage)
data=loop.get_data_set(name='testsweep')
plot_1d=qc.QtPlot() # create a plotplot_1d.add(data.dmm_voltage) # add a graph to the plotplots.append(plot_1d)
_=loop.with_bg_task(plot_1d.update, plot_1d.save).run() # run the loop
all figures will remain open as a reference is kept to all of them.
The text was updated successfully, but these errors were encountered:
some like
results in all but the latest figure getting closed
but
all figures will remain open as a reference is kept to all of them.
The text was updated successfully, but these errors were encountered: