Remove unused plot_dict from analyze_surface_position_data.
authorW. Trevor King <wking@tremily.us>
Sun, 19 Aug 2012 18:38:30 +0000 (14:38 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 19 Aug 2012 18:38:30 +0000 (14:38 -0400)
pypiezo/surface.py

index 0534613d28ed8d13a02fa57c4a1c4fa7fb82dbed..4cea70d0c71e19d2232fd1526700079c4f245fc8 100644 (file)
@@ -217,8 +217,6 @@ def analyze_surface_position_data(
         axes.hold(True)
         timestamp = _time.strftime('%H%M%S')
         axes.set_title('surf_pos %5g %5g %5g %5g' % tuple(params))
-        def plot_dict(d, label):
-            _pylab.plot(d["z"], d["deflection"], '.',label=label)
         for n,name in [('ret1', 'first retract'),
                        ('mtpod', 'single step in'),
                        ('ret2', 'second retract'),