The plot is now correctly reset.