diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-06-09 11:09:36 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-09 11:09:36 +0200 |
commit | 393871b937bf80e4df8d99e4ec64c225e9178895 (patch) | |
tree | a898ef6b2c605f9cc257b8737145e8af8b6f3e87 /bin | |
parent | 0e8a2715b755505fc71467b57704b00273d04874 (diff) | |
download | jenkins.debian.net-393871b937bf80e4df8d99e4ec64c225e9178895.tar.xz |
reproducible: improve mainpage layout for large screens
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/make_graph.py | 2 | ||||
-rwxr-xr-x | bin/reproducible_html_graphs.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/make_graph.py b/bin/make_graph.py index f03e5633..db098b22 100755 --- a/bin/make_graph.py +++ b/bin/make_graph.py @@ -23,7 +23,7 @@ def main(): countsfile = os.path.join(filein) pngfile = os.path.join(fileout) grdevices = importr('grDevices') - grdevices.png(file=pngfile, width=1600, height=800, pointsize=10, res=100, antialias="none") + grdevices.png(file=pngfile, width=1920, height=960, pointsize=10, res=100, antialias="none") r = robjects.r r('t <- (read.table("'+countsfile+'",sep=",",header=1,row.names=1))') r('cname <- c("date",rep(colnames(t)))') diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index dd804db9..ca778d6e 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -343,7 +343,7 @@ create_png_from_table() { DIR=$(dirname $2) mkdir -p $DIR echo "Creating $2 dummy." - convert -size 1600x800 xc:#aaaaaa -depth 8 $2 + convert -size 1920x960 xc:#aaaaaa -depth 8 $2 if [ "$3" != "" ] ; then local THUMB="${TABLE[1]}_${3}-thumbnail.png" convert $2 -adaptive-resize 160x80 ${THUMB} |