This repository contains the Jupyter notebooks and supporting data used to generate the figures presented in the PyGMT paper:
Tian, D., Fröhlich, Y., Leong, W. J., Grund, M., Schlitzer, W., Jones, M., Uieda, L., Luis, J. M. F. (2026). PyGMT: Bridging Python and the Generic Mapping Tools for Geospatial Visualization and Analysis. Geochemistry, Geophysics, Geosystems, 27(7), e2026GC013105. https://doi.org/10.1029/2026GC013105
Fig1_PyGMT_GMT_comparison.ipynb: Comparison of GMT CLI (Bash) and PyGMT (Python) scriptsFig2_PyGMT_ecosystem.ipynb: The PyGMT ecosystemFig3_PyGMT_backgrounds.ipynb: Different types of geographic background basemaps of IcelandFig4_PyGMT_pandas.ipynb: Seismicity along the Andaman-Sumatra-Java subduction zoneFig5_PyGMT_xarray.ipynb: Hemispherical views of long-wavelength Mars topographyFig6_PyGMT_geopandas.ipynb: Choropleth map of the population in the USFig7_PyGMT_datetime.ipynbwithstar_history_github_*.csv: GitHub star history of GMT and the wrappers
These notebooks require GMT, PyGMT, and other dependencies to be installed in the same environment.
The environment.yml file can be used to create a conda environment with all the required dependencies.
Create and activate the environment:
conda env create -f environment.yml
conda activate pygmt-paper-figuresStart JupyterLab inside the activated environment:
jupyter labThen open the notebooks and run them within the pygmt-paper-figures environment.
- Some figures download remote resources or rely on online datasets.
- Figure outputs are typically saved as PNG files from within the notebooks.
The notebooks in this repository are archived on Zenodo and can be cited as:
Tian, D., Fröhlich, Y., Grund, M., Schlitzer, W., & Leong, W. J. (2026). Reproducible materials for "PyGMT: Bridging Python and the Generic Mapping Tools for Geospatial Visualization and Analysis". Zenodo. https://doi.org/10.5281/zenodo.19412361
This repository is licensed under the MIT License. See the LICENSE file for details.
