From 0e46332a666f8c5d114210470e4097d3f6c44987 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Mar 2012 23:31:36 -0400 Subject: [PATCH] Oops, add output argument to pypiezo.wiggle._setup_plot(). --- pypiezo/wiggle.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pypiezo/wiggle.py b/pypiezo/wiggle.py index 87658e8..06b47f4 100644 --- a/pypiezo/wiggle.py +++ b/pypiezo/wiggle.py @@ -127,7 +127,7 @@ def _update_datafile(filename, group, config, cycle, data): 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) @@ -136,7 +136,7 @@ def _setup_plot(piezo, config): 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() -- 2.26.2