From 7de6e179ecc83084115ea35209572540540a1ecd Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 9 Oct 2009 10:28:57 -0600 Subject: [PATCH] Histogram will always have a valid png now --- ctf/histogram.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ctf/histogram.py b/ctf/histogram.py index 542b534..3c7426c 100755 --- a/ctf/histogram.py +++ b/ctf/histogram.py @@ -59,12 +59,13 @@ set xtics nomirror set ytics nomirror set nokey set terminal png transparent size 640,200 x000000 xffffff -set output "%(pngout)s" +set output "%(pngout)s,tmp" plot %(plot)s\n''' % {'plot': ','.join(plotparts), 'pngout': pngout}) instructions.flush() gp = os.system('gnuplot %s 2>/dev/null