summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2011-04-06 11:19:02 -0500
committerJoel Martin <github@martintribe.org>2011-04-06 11:19:02 -0500
commit303819eaa956e6c16a9513eedec90d1b0daace0c (patch)
treead38257bb4fb1726ae939dd74012ac4e75748385
parent40e5c25ad8d95c48c56ae936bc869211cd7aba75 (diff)
downloadnovnc-303819eaa956e6c16a9513eedec90d1b0daace0c.tar.gz
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.
-rw-r--r--tests/arrays.js2
-rwxr-xr-xutils/json2graph.py (renamed from tests/json2graph.py)2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/arrays.js b/tests/arrays.js
index c5ab66a..5f6a8c4 100644
--- a/tests/arrays.js
+++ b/tests/arrays.js
@@ -34,7 +34,7 @@ if (Util.Engine.trident) {
var newline = "<br>\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
index 2e4d7bf..0f6a7ad 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";