浏览代码

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.
Joel Martin 14 年之前
父节点
当前提交
303819eaa9
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      tests/arrays.js
  2. 1 1
      utils/json2graph.py

+ 1 - 1
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;

+ 1 - 1
tests/json2graph.py → 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";