All figures from McClean el al (2022) can be reproduced using the code provided here. The data used to create the figures is available as a separate item. To run the scripts, extract data.zip into the same directory as the scripts then create a Python environment using environment.yml.