surfplot is installable via pip:

pip install surfplot

Alternatively, you can install the most up-to-date version of from GitHub:

git clone
cd surfplot
pip install .

Note that surfplot requires Python 3.7+ and some key dependencies:

Several of the Tutorials and Examples make use of additional neuroimaging packages. Although these packages are not required for installation, they are recommended to make your surfplotting life a bit easier. These are:

  • nilearn (for manipulating images and volume-to-surface projections)

  • neuromaps (for volume-to-surface projections and surface-to-surface resampling)