# HG changeset patch # User Jeff Hammel # Date 1431989960 25200 # Node ID d5f93606f4022b6134ba2262c5e7212861b7bad1 # Parent c16940bd2cee002f82454784a7fa670c5304d239 minor fixes diff -r c16940bd2cee -r d5f93606f402 numerics/plot.py --- a/numerics/plot.py Fri May 15 16:59:09 2015 -0700 +++ b/numerics/plot.py Mon May 18 15:59:20 2015 -0700 @@ -22,6 +22,7 @@ import os import sys from .manipulate import ManipulationParser +from StringIO import StringIO # module globals __all__ = ['Plot', 'PlotParser', 'read', 'main'] @@ -139,7 +140,7 @@ # save plot if options.output: plt.savefig(options.output) - print ("Figure saved to file://{}".format(os.path.abspath(options.output))) + print ("Figure saved to file://{}".format(os.path.abspath(options.output.name))) # display plot, I guess plt.show()