
I would like to stick the latest caracter of a Label text to the bottom right part of my figure for a given text and a given font size. For instance in the following example where my text is ‘this is super fun’ with a font size of “20px” the position is width/2+25 (I found it with dichotomy) .
width,height=400,300
p = figure(plot_width=width, plot_height=height)
MyText='this is super fun'
my_font_size = "20px"
labels = Label(x=width/2+25, y=0,x_units='screen', y_units='screen', text=MyText,text_font_size=my_font_size)
p.add_layout(labels)

Do you an idea why this happen ? Thanks