/matplotlib-tutorial

Content for Project Pythia's matplotlib tutorials

Primary LanguageJupyter Notebook

Matplotlib Tutorial

Binder

This repository contains materials for both matplotlib tutorials

Running the tutorial

There are two different ways in which you can set up and go through the tutorial materials. Both of which are outlined in the table below.

Method Setup Description
Binder Binder Run the tutorial notebooks on mybinder.org without installing anything locally (suggested for Windows users).
Local install Instructions Download the tutorial notebooks and install the necessary packages (via conda) locally. Setting things up locally can take a few minutes, so we recommend going through the installation steps prior to the tutorial.

Local installation instructions

1. Clone the repository

First clone this repository to your local machine via:

git clone git clone https://github.com/anissa111/matplotlib-tutorial

2. Create a conda environment

Navigate to the matplotlib-tutorial/ directory and create a new conda environment with the required packages via:

cd matplotlib-tutorial
conda env create --file environment.yml

3. Activate the environment

Next, activate the environment with:

conda activate mpl-tutorial

4. Launch JupyterLab

Finally, launch JupyterLab with:

jupyter lab