From 6948fce4a18b6d06b93c6ada48401a2d04828340 Mon Sep 17 00:00:00 2001 From: Florian Mounier Date: Tue, 31 May 2016 10:12:18 +0200 Subject: [PATCH] Fix bar static value positioning #315 --- pygal/graph/bar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pygal/graph/bar.py b/pygal/graph/bar.py index f7ed10c3..488b759a 100644 --- a/pygal/graph/bar.py +++ b/pygal/graph/bar.py @@ -93,8 +93,7 @@ def _tooltip_and_print_values( else: x = x_center y = y_center - self._static_value( - serie_node, val, x, y, metadata, "centered") + self._static_value(serie_node, val, x, y, metadata, "middle") def bar(self, serie, rescale=False): """Draw a bar graph for a serie"""