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.
This commit is contained in:
Joel Martin 2011-04-06 11:19:02 -05:00
parent 40e5c25ad8
commit 303819eaa9
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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";