Pre- to postoperative changes in neuropsychological performance. (A) Pre- and postoperative trajectories in FSIQ in seizure-free (green) versus not seizure-free (orange) patients. All patients were included in the visualization, irrespective of whether they had one or multiple pre- and/or postoperative assessments. If patients had multiple pre- and/or postoperative assessments, all assessments were included for each patient. Generalized additive modelling was fitted to all data-points, according to seizure outcome (solid green line for patients who were seizure free and solid orange line for patients who were not seizure free); shaded areas represent the 95% confidence intervals. (B) Pre- and postoperative trajectories in FSIQ in seizure-free patients who were still receiving or weaning ASMs (yellow) versus no longer receiving ASMs (light green). Grey points represent FSIQ in the preoperative period and FSIQ for patients who did not become seizure free postoperatively. All patients were included in the visualization, irrespective of whether they had one or multiple pre- and/or postoperative assessments. If patients had multiple pre- and/or postoperative assessments, all assessments were included for each patient. Generalized additive modelling was fitted to all data-points, according to postoperative ASM status (solid yellow line for patients who were still receiving or weaning ASMs and solid light green line for patients who were no longer receiving ASMs); shaded areas represent the 95% confidence intervals. See Supplementary Fig. 4 for verbal IQ, performance IQ, working memory, processing speed, reading, spelling and numeracy. ASM = antiseizure medication; FSIQ = full-scale IQ.