Commit 303819ea authored by Joel Martin's avatar Joel Martin

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.
parent 40e5c25a
...@@ -34,7 +34,7 @@ if (Util.Engine.trident) { ...@@ -34,7 +34,7 @@ if (Util.Engine.trident) {
var newline = "<br>\n"; var newline = "<br>\n";
} }
function message(str) { function message(str) {
console.log(str); //console.log(str);
cell = $D('messages'); cell = $D('messages');
cell.innerHTML += str + newline; cell.innerHTML += str + newline;
cell.scrollTop = cell.scrollHeight; cell.scrollTop = cell.scrollHeight;
......
...@@ -13,7 +13,7 @@ import matplotlib.pyplot as plt ...@@ -13,7 +13,7 @@ import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties from matplotlib.font_manager import FontProperties
def usage(): 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 "Description:\n"
print "level1, level2, and level3 are one each of the following:\n"; print "level1, level2, and level3 are one each of the following:\n";
print " select=ITEM - select only ITEM at this level"; print " select=ITEM - select only ITEM at this level";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment