Plotting commands now return the plots they generate.
[calibcant.git] / calibcant / analyze.py
index 1774c0b7f3a9c32383dc4c180eb37d379181f45d..67d6908418321369350094e39bf225af04d10b29 100644 (file)
@@ -183,6 +183,7 @@ def plot(bumps, temperatures, vibrations):
 
     if hasattr(figure, 'show'):
         figure.show()
+    return figure
 _plot = plot  # alternative name for use inside analyze_all()