projects
/
calibcant.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Plotting commands now return the plots they generate.
[calibcant.git]
/
calibcant
/
bump_analyze.py
diff --git
a/calibcant/bump_analyze.py
b/calibcant/bump_analyze.py
index d5256fc84bd1ea660c05c81b6bfc73d188d35de9..babcb05a5647bcef865094c681841ce949d28311 100644
(file)
--- a/
calibcant/bump_analyze.py
+++ b/
calibcant/bump_analyze.py
@@
-400,4
+400,5
@@
def plot(data, yguess=None, yfit=None):
residual_axes.set_ylabel('Photodiode (Volts)')
if hasattr(figure, 'show'):
figure.show()
+ return plot
_plot = plot # alternative name for use inside fit()