소스 검색

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