From 26c358b5a05fecfd9c2a333b212f674323576ec5 Mon Sep 17 00:00:00 2001 From: Max Zwiessele Date: Fri, 21 Nov 2014 09:59:45 +0000 Subject: [PATCH] [kernel plots] updates on bar plots --- GPy/plotting/matplot_dep/kernel_plots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPy/plotting/matplot_dep/kernel_plots.py b/GPy/plotting/matplot_dep/kernel_plots.py index dd0f1cf5..347e3d08 100644 --- a/GPy/plotting/matplot_dep/kernel_plots.py +++ b/GPy/plotting/matplot_dep/kernel_plots.py @@ -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