cwg['time'] = timestamp
cwg['raw/{}'.format(config['input'])] = data
-def _setup_plot(piezo, config):
+def _setup_plot(piezo, config, output):
if not _matplotlib:
raise _matplotlib_import_error
_matplotlib.interactive(True)
axes.hold(False)
timestamp = _time.strftime('%H%M%S')
axes.set_title('wiggle for interference %s' % timestamp)
- plot = axes.plot(out, out, 'b.-')
+ plot = axes.plot(output, output, 'b.-')
figure.show()
_matplotlib_pyplot.draw()
_matplotlib_pyplot.show()