Fix ploting calibration residuals