Fixed refresh of plot just after loading data.