# HG changeset patch # User tomwalters # Date 1284427844 0 # Node ID f54d91957fec0bca434529ce70faca1b924f4514 # Parent 4d408e0d56436fa5ecc18e0109faa3914ccd4218 - Maybe, just maybe diff -r 4d408e0d5643 -r f54d91957fec experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py --- a/experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py Tue Sep 14 01:27:06 2010 +0000 +++ b/experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py Tue Sep 14 01:30:44 2010 +0000 @@ -8,7 +8,7 @@ import sys import getopt import matplotlib as mpl -matplotlib.use('PDF') +mpl.use('PDF') import numpy as np import pylab as p import mpl_toolkits.mplot3d.axes3d as p3 @@ -40,7 +40,7 @@ # defaults input_file = "results_iteration_15.txt" - output_filename = "results_iteration_15.png" + output_file = "results_iteration_15.png" # option processing for option, value in opts: @@ -122,7 +122,7 @@ #p.show() - p.savefig(output_filename) + p.savefig(output_file) if __name__ == "__main__": - sys.exit(main()) \ No newline at end of file + sys.exit(main())