Clear plot on location change