summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-09 11:09:36 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-09 11:09:36 +0200
commit393871b937bf80e4df8d99e4ec64c225e9178895 (patch)
treea898ef6b2c605f9cc257b8737145e8af8b6f3e87 /bin
parent0e8a2715b755505fc71467b57704b00273d04874 (diff)
downloadjenkins.debian.net-393871b937bf80e4df8d99e4ec64c225e9178895.tar.xz
reproducible: improve mainpage layout for large screens
Diffstat (limited to 'bin')
-rwxr-xr-xbin/make_graph.py2
-rwxr-xr-xbin/reproducible_html_graphs.sh2
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}