mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
[kernel plots] updates on bar plots
This commit is contained in:
parent
6ed91ce102
commit
26c358b5a0
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def add_bar_labels(fig, ax, bars, bottom=0):
|
||||||
c = 'w'
|
c = 'w'
|
||||||
t = TextPath((0, 0), "${xi}$".format(xi=xi), rotation=0, ha='center')
|
t = TextPath((0, 0), "${xi}$".format(xi=xi), rotation=0, ha='center')
|
||||||
transform = transOffset
|
transform = transOffset
|
||||||
if patch.get_extents().height <= t.get_extents().height + 3:
|
if patch.get_extents().height <= t.get_extents().height + 5:
|
||||||
va = 'bottom'
|
va = 'bottom'
|
||||||
c = 'k'
|
c = 'k'
|
||||||
transform = transOffsetUp
|
transform = transOffsetUp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue