[mlpack-svn] r15708 - mlpack/conf/jenkins-conf/benchmark/util

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Sep 3 16:12:36 EDT 2013


Author: marcus
Date: Tue Sep  3 16:12:35 2013
New Revision: 15708

Log:
Transform to list to be compatible with python3.

Modified:
   mlpack/conf/jenkins-conf/benchmark/util/graph.py

Modified: mlpack/conf/jenkins-conf/benchmark/util/graph.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/util/graph.py	(original)
+++ mlpack/conf/jenkins-conf/benchmark/util/graph.py	Tue Sep  3 16:12:35 2013
@@ -158,7 +158,7 @@
   handler.append(plt.Rectangle((0, 0), 1, 1, fc="gray", alpha=0.6))
 
   # Set the labels for the x-axis.
-  plt.xticks(legendIndex , timingData.keys(), rotation=30, ha='right')
+  plt.xticks(legendIndex , list(timingData.keys()), rotation=30, ha='right')
 
   # Set the color and the font of the x-axis and y-axis labels.
   ax.tick_params(axis='both', which='major', labelsize=8, labelcolor="#6e6e6e")



More information about the mlpack-svn mailing list