removed the figure and close statement from precision and recall plot