Make transparent images, and use CSS to choose the background color.

master
Heikki Hokkanen 2007-08-07 16:11:14 +03:00
parent 0a0257fb56
commit dd622da0d0
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import os
import re
import sys
GNUPLOT_COMMON = 'set terminal png\nset size 0.5,0.5\n'
GNUPLOT_COMMON = 'set terminal png transparent\nset size 0.5,0.5\n'
def getoutput(cmd):
print '>> %s' % cmd

View File

@ -75,3 +75,8 @@ td {
border-bottom: 1px solid #cc9;
}
img {
border: 1px solid black;
padding: 0.5em;
background-color: white;
}