From 30bfe76eac0b4ee01e593a27a9fd4578d58124f6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2007 00:28:40 -0400 Subject: [PATCH] only use half the max size --- IkiWiki/Plugin/postsparkline.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm index dc996ae32..9e885741e 100644 --- a/IkiWiki/Plugin/postsparkline.pm +++ b/IkiWiki/Plugin/postsparkline.pm @@ -58,7 +58,7 @@ sub preprocess (@) { #{{{ if (! @data) { # generate an empty graph - push @data, 0 foreach 1..$params{max}; + push @data, 0 foreach 1..($params{max} / 2); } my $color=exists $params{color} ? "($params{color})" : ""; -- 2.26.2