Fix of plot error when no test point