Skip to content

Commit

Permalink
Fix bar static value positioning Kozea#315
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed May 31, 2016
1 parent f966497 commit 6948fce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pygal/graph/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit 6948fce

Please sign in to comment.