From c24e0ca8d257a5dadd8a64a6e19590ce47c9f6aa Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 26 Mar 2012 17:28:57 -0400 Subject: [PATCH] Oops, bump_analyze.plot should return `figure`, not `plot`. --- calibcant/bump_analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibcant/bump_analyze.py b/calibcant/bump_analyze.py index d855909..140add3 100644 --- a/calibcant/bump_analyze.py +++ b/calibcant/bump_analyze.py @@ -402,5 +402,5 @@ def plot(data, yguess=None, yfit=None): residual_axes.set_ylabel('Photodiode (Volts)') if hasattr(figure, 'show'): figure.show() - return plot + return figure _plot = plot # alternative name for use inside fit() -- 2.26.2