From 303819eaa956e6c16a9513eedec90d1b0daace0c Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 6 Apr 2011 11:19:02 -0500 Subject: [PATCH] util/json2graph.py: new location for json2graph.py. Also clarify usage statement with legend height adjustment. Remove console.log in arrays.js so that it works in firefox without firebug. --- tests/arrays.js | 2 +- {tests => utils}/json2graph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename {tests => utils}/json2graph.py (98%) diff --git a/tests/arrays.js b/tests/arrays.js index c5ab66a9..5f6a8c4a 100644 --- a/tests/arrays.js +++ b/tests/arrays.js @@ -34,7 +34,7 @@ if (Util.Engine.trident) { var newline = "
\n"; } function message(str) { - console.log(str); + //console.log(str); cell = $D('messages'); cell.innerHTML += str + newline; cell.scrollTop = cell.scrollHeight; diff --git a/tests/json2graph.py b/utils/json2graph.py similarity index 98% rename from tests/json2graph.py rename to utils/json2graph.py index 2e4d7bf2..0f6a7ad5 100755 --- a/tests/json2graph.py +++ b/utils/json2graph.py @@ -13,7 +13,7 @@ import matplotlib.pyplot as plt from matplotlib.font_manager import FontProperties def usage(): - print "%s json_file level1 level2 level3\n\n" % sys.argv[0] + print "%s json_file level1 level2 level3 [legend_height]\n\n" % sys.argv[0] print "Description:\n" print "level1, level2, and level3 are one each of the following:\n"; print " select=ITEM - select only ITEM at this level";