[kernel plots] updates on bar plots

This commit is contained in:
Max Zwiessele 2014-11-21 09:59:45 +00:00
parent 6ed91ce102
commit 26c358b5a0

View file

@ -25,7 +25,7 @@ def add_bar_labels(fig, ax, bars, bottom=0):
c = 'w'
t = TextPath((0, 0), "${xi}$".format(xi=xi), rotation=0, ha='center')
transform = transOffset
if patch.get_extents().height <= t.get_extents().height + 3:
if patch.get_extents().height <= t.get_extents().height + 5:
va = 'bottom'
c = 'k'
transform = transOffsetUp