lib/lilygraph.rb in lilygraph-0.4.1 vs lib/lilygraph.rb in lilygraph-0.4.2

- old
+ new

@@ -242,10 +242,10 @@ private def max ((((@data.map do |num| num.respond_to?(:max) ? num.max : num - end.max || 0) + 5) / 10.0).ceil * 10).round + end.max || 0) + 1) / 10.0).ceil * 10).round end def graph_height @options[:viewbox][:height] - (@options[:margin][:top] + @options[:margin][:bottom]) end