projects
/
calibcant.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f44864
)
Oops, bump_analyze.plot should return `figure`, not `plot`.
author
W. Trevor King
<wking@drexel.edu>
Mon, 26 Mar 2012 21:28:57 +0000
(17:28 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 26 Mar 2012 21:28:57 +0000
(17:28 -0400)
calibcant/bump_analyze.py
patch
|
blob
|
history
diff --git
a/calibcant/bump_analyze.py
b/calibcant/bump_analyze.py
index d855909042294fed6593fee1460087e055a433bb..140add37fc05485bf6670751998e8265f23b00bd 100644
(file)
--- 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()