add documentation to draw_minima()