Matplotlib surface plotting

Project info

Title: Matplotlib Brain Surface Plotting image

Project lead: Konrad Wagstyl Twitter: @KonradWagstyl Mattermost: @konrad

Project collaborators:

Registered Brainhack Global 2020 Event: Brainhack Micro2Macro 2021

Project Description: There are lots of nice tools to plot brain meshes in python, but many come with dependencies that can be tricky to install. This project aims to improve a basic tool to plot brain meshes purely using matplotlib.

Ideal for people who want a simple, easy to use tool to visual cortical surface data on meshes in notebooks or generate brain images through python scripts.

All you need is a mesh file (containing vertices and faces) and a set of values you want to display. For example, cortical thickness values across the mesh or a surface-based parcellation.

Here is the github:

Data to use: All data is currently included in the github repo. You can use your own mesh files if you prefer.

Link to project repository/sources:

Goals for Brainhack Global 2020: The aim for the brainhack is to add some extra visualisation options:

Good first issues:

  1. Notebook to plot a brain - download the repo and create a notebook from the example .py script
  2. Suggest a new plotting feature
  3. Implement a new feature


Python Jupyter notebook Data visualisation

Tools/Software/Methods to Use:

Python Jupyter notebook

Communication channels: (link will be posted in mattermost channel)

Project labels

Project Submission

Submission checklist

Once the issue is submitted, please check items in this list as you add under ‘Additional project info’

Optionally, you can also include information about:

We would like to think about how you will credit and onboard new members to your project. If you’d like to share your thoughts with future project participants, you can include information about:

Jan 1, 0001 12:00 AM