Plot parcellation with labels in nilearn?

Is there a simple option to plot a parcellation + labels in nilearn, given that I have a nifti file of the parcellation and a csv file of the labels?

I don’t think nilearn has an option to add the labels on the plot; however nilearn plots are matplotlib figures so it should be easy to add a legend with matplotlib:

https://matplotlib.org/users/legend_guide.html

1 Like