uti_plot to support IPython and saving figures to files