As you can see in this graph, the annotation goes beyond the area of the figure. In python I’m used to fix this with pyplot.tight_layout().
d = Dict{Any, Any} with 7 entries:
"C" => 10.7406
"C ffast-math" => 7.28659
"Python- Built-in" => 1631.21
"Python numpy" => 4.74571
"Python hand-written" => 1942.86
"Julia built-in" => 6.45389
"Julia hand-written" => 10.7421
l_vec = sort(collect(d), by=x->x[2], rev = true)
x = map(x->x[1], l_vec)
y = map(x->x[2], l_vec)
y_annotations = [@sprintf(" %.2f ms",i) for i in y]
Plots.bar(x ,y ,
xaxis = ("time (ms)",false, nothing),
yaxis = ("Languages",false),
orientation= :horizontal,label = "" , series_annotation = (y_annotations, font(7, :left)))