time frequency plotting now better handles nans