[mlpack-svn] r15707 - 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 15:31:21 EDT 2013


Author: marcus
Date: Tue Sep  3 15:31:21 2013
New Revision: 15707

Log:
Add dataset name label.

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 15:31:21 2013
@@ -49,7 +49,7 @@
   opacity = 0.9
   fill = True
   windowWidth = 8.1
-  windowHeight = 1.3
+  windowHeight = 3.3
   gridLineWidth = 0.2
 
   # Create figure and set the color.
@@ -147,7 +147,7 @@
 
       nextBar += barWidth
       l += 1
-    nextBar += (2 * barWidth)
+    nextBar += (4 * barWidth)
 
   # Create a proxy artist for the legend.
   handler = []
@@ -158,8 +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 , [' ' for x in range(len(timingData.keys()))])
-  plt.xlabel("Dataset", color="#6e6e6e")
+  plt.xticks(legendIndex , 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