Add an optional label in the draw_ratio function