draw_legend function
Settings docs