# HG changeset patch # User tomwalters # Date 1284427844 0 # Node ID 54f8691e271a4d6092095f75d8d71b561d6bcdf0 # Parent 3907c7937be5d1217e668827c75947d9c8699610 - Maybe, just maybe diff -r 3907c7937be5 -r 54f8691e271a trunk/experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py --- a/trunk/experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py Tue Sep 14 01:27:06 2010 +0000 +++ b/trunk/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())