changeset 222:203456631e30

- Maybe, just maybe
author tomwalters
date Tue, 14 Sep 2010 01:30:44 +0000
parents 63d3cdf1aff2
children 712d29a17d67
files experiments/scripts/cnbh-syllables/results_plotting/spider_plot.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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())