reset plotter when done

Minor cleanup, moved the plotter reset from the library to here since we
are mucking it up here in the first place.