Labels above bars in a multi-bar chart

I’ve been trying to use LabelSet to add y-value labels above each of the bars in a chart. My chart has two bars for each x-value. Labels do render for both bars… but I can’t seem to figure out a way to get them aligned above their respective bars. See example code and image below.

p = Bar(df, ‘x’, ‘y’, group=‘metric’, title=‘My amazing chart’)

labels = LabelSet(x=‘x’, y=‘y’, text=‘ytext’, level=‘glyph’,

x_offset=-13.5, y_offset=0, source=ColumnDataSource(df),

render_mode=‘canvas’, text_font_size=‘8pt’)


Notice how the labels for both bars in each set just end up on top of each other. The x_offset arg affects them both so they are always above each other. Is there any way to handle this currently?