KirstieJane / NH19-Visualization

A collection of notebooks demonstrating plotting with matplotlib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NH19-Visualization

Binder

A collection of notebooks demonstrating plotting with matplotlib.

Matplotlib and Seaborn Galleries

The greatest part of matplotlib and seaborn are their galleries:

If you take nothing else from this session, please know that there are amazing examples that you can copy and paste and run for yourself.

These give you a great jumping off point for learning how to visualize your data.

Installation

Visualisation tools change quite regularly, so the first step is to install an anaconda environment with the correct packages. Don't forget to type y when conda asks you if you want to install some packages 😺

conda create -n nh19-visualization python=3.7 nb_conda_kernels jupyter

Activate that environment and then install all the packages listed in the requirements.txt file in this repository.

If you don't run this command from inside of the repository then change requirements.txt to include the path (relative or absolute) to the file.

conda activate nh19-visualization
pip install -r requirements.txt

Finally, make sure you can see this environment in jupyter lab.

python -m ipykernel install --user --name nh19-visualization

Step by step tutorial

In 2017 Michael Vendetti and I published a paper on "Neuroscientific insights into the development of analogical reasoning". The code to recreate the figures from processed data is available at https://github.com/KirstieJane/NORA_WhitakerVendetti_DevSci2017.

The DataViz_Scatter jupyter notebook is a step by step tutorial to plot figure 2 (shown below) from the paper.

Other example notebooks

About

A collection of notebooks demonstrating plotting with matplotlib

License:MIT License


Languages

Language:Jupyter Notebook 100.0%