Skip to content

school-brainhack/module_python_visualization

Repository files navigation

Python for data visualization

Training module on data visualization using Python tools

Downloading the data

For this tutorial, we will use two different datasets.

Datasaurus (optional)

We will use this dataset solely to illustrate certain theoretical concepts. Downloading this dataset is therefore optional.

To download the data:

https://www.kaggle.com/code/tombutton/datasaurus-dozen/input

Brain development fMRI

We will download this dataset using nilearn. Follow the instructions in the notebook.

Installation

🐍 Via conda

In your terminal:

  1. Install the dependencies in your virtual environment
conda env create -f environment.yml

☀️ Via uv:

In your terminal:

  1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Check uv installation
uv -h
  1. Create a virtual environment
uv venv visu-env --python=3.10
  1. Activate your environment
source visu-env/bin/activate
  1. Install the dependencies
uv pip install -r requirements.txt

Configure the virtual environment as a Jupyter notebook kernel

In your terminal:

python -m ipykernel install --user --name=visu-env --display-name "bhs_visu"

About

Training module on data visualization using Python tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors