From: W. Trevor King <wking@tremily.us>
Date: Sun, 19 Aug 2012 18:38:30 +0000 (-0400)
Subject: Remove unused plot_dict from analyze_surface_position_data.
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35f16d19279825e4996067de8351f8749c235df7;p=pypiezo.git

Remove unused plot_dict from analyze_surface_position_data.
---

diff --git a/pypiezo/surface.py b/pypiezo/surface.py
index 0534613..4cea70d 100644
--- a/pypiezo/surface.py
+++ b/pypiezo/surface.py
@@ -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'),