This repository contains the Python codes (*.py files) used to produce the related contents of Fu et al. (2024). For queries about this repository and its contents, please contact Dr.Shuo Fu (shuofu96@gmail.com). Figure 1.py: For plotting main Fig.1. Figure 2.py: For plotting main Fig.2. Figure 3.py: For plotting main Fig.3. Figure 4.py: For plotting main Fig.4. References: Fu et al. Historical changes in wind-driven ocean circulation drive pattern of Pacific warming.Nature Communications. (2024).