diff --git a/histogram.py b/histogram.py
index 48d4b12..6fb4a44 100755
--- a/histogram.py
+++ b/histogram.py
@@ -18,10 +18,9 @@ fn = 'scores.hist'
scoresfile = open(fn, 'w')
i = 2
for team in teams:
- plotparts.append('"%s" using 1:%d with lines linetype rgb "#%s"' % (fn, i, teamcolors[team]))
+ plotparts.append('"%s" using 1:%d with lines linewidth 2 linetype rgb "#%s"' % (fn, i, teamcolors[team]))
scores[team] = 0
i += 1
-print(plotparts)
def write_scores(t):
scoresfile.write('%d' % t)
@@ -51,7 +50,7 @@ gp.write('set border 3\n')
gp.write('set xtics nomirror\n')
gp.write('set ytics nomirror\n')
gp.write('set nokey\n')
-gp.write('set terminal png transparent x000000 xffffff\n')
+gp.write('set terminal png transparent size 640,200 x000000 xffffff\n')
gp.write('set output "histogram.png"\n')
gp.write('plot %s\n' % ','.join(plotparts))
gp.flush()
diff --git a/scoreboard.cgi b/scoreboard.cgi
index cbc22dc..58d544e 100755
--- a/scoreboard.cgi
+++ b/scoreboard.cgi
@@ -3,19 +3,16 @@
import cgitb; cgitb.enable()
import points
-print('Content-type: text/html')
-print()
-
-
s = points.Storage('scores.dat')
-rows = 20
-
teams = s.teams()
categories = [(cat, s.cat_points(cat)) for cat in s.categories()]
teamcolors = points.colors(teams)
-print('''
+print('Content-type: text/html')
+print()
+
+print('''
@@ -44,6 +41,10 @@ for cat, total in categories:
print('')
print('''
-
+