# HG changeset patch # User tomwalters # Date 1284427844 0 # Node ID 203456631e30ecf0e6112070d13505354cafcb42 # Parent 63d3cdf1aff29940dfeb529e3b5f0eb03ff33da2 - Maybe, just maybe diff -r 63d3cdf1aff2 -r 203456631e30 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())