From: W. Trevor King Date: Mon, 26 Mar 2012 21:28:57 +0000 (-0400) Subject: Oops, bump_analyze.plot should return `figure`, not `plot`. X-Git-Tag: 0.8~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c24e0ca8d257a5dadd8a64a6e19590ce47c9f6aa;p=calibcant.git Oops, bump_analyze.plot should return `figure`, not `plot`. --- 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()