Author: sleon
Date: 2006-01-07 01:51:48 +0000 (Sat, 07 Jan 2006)
New Revision: 7783
Modified:
trunk/apps/freeviz/histogram.py
Log:
integrated nextgen's creation
Modified: trunk/apps/freeviz/histogram.py
===================================================================
--- trunk/apps/freeviz/histogram.py 2006-01-07 01:19:02 UTC (rev 7782)
+++ trunk/apps/freeviz/histogram.py 2006-01-07 01:51:48 UTC (rev 7783)
@@ -10,13 +10,13 @@
links = histdata.get()
except:
- print "Blame sleon if his api is b0rk3d! :p(comment from sleon: why me
why me?\nblame nextgens for missing libs!"
+ print "Blame sleon if his api is b0rk3d! :p(comment from sleon: why me
why me?\nblame nextgens for missing libs!(as sysadmin)"
quit
histogram=[0,0,0,0,0,0,0,0,0,0]
number_of_connections=len(links)
-print "They are "+str(number_of_connections)+" connections."
+#print "They are "+str(number_of_connections)+" connections."
for connection in links:
delta=float(connection[0].get("location"))-float(connection[1].get("location"))
@@ -35,5 +35,5 @@
x.setData(histogram_percents)
x.setLabels(["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"])
x.draw("/tmp/histogram.png")
-print histogram
-print histogram_percents
+#print histogram
+#print histogram_percents