Skip to content

Python Plotnine workshop organized with R-Ladies (Cologne, Paris) and Pyladies (Tunis, Munich). Plotnine is a data visualization package based on R ggplot.

Notifications You must be signed in to change notification settings

tashapiro/python-plotnine-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Plotnine Workshop

Python Plotnine Workshop

Python Plotnine workshop organized with R-Ladies (Cologne, Paris) and Pyladies (Tunis, Munich).

Plotnine is a data visualization package based on R ggplot. In this's workshop, we'll explore how to create and style plots using plotnine in Python using. The live workshop was conducted in Google Colab.

Workshop materials include a starter notebook for participants who want to code along, and a solutions notebook with pre-filled code chunks. The workshop covers how to employ different techniques in plotnine with 3 different plot type examples.


Workshop Intro

Here are the intro slides. Purpose of these slides is to recognize the unique crossover between R & Python and to cover basic ggplot/plotnine concepts.

plot

plot

Workshop Agenda

This workbook is divided into 5 sections:

  1. Set-Up
  2. Data Prep
  3. Plot 1: Bar
  4. Plot 2: Scatter
  5. Plot 3: Density & Facetting

About The Data

The dataset comes from the TidyTuesday community. The data is sourced from the Open-Source Psychometrics Project and contains personality assessments of different characters in pop culture (e.g. characters from Friends, Westworld, Marvel, etc).

Plots

By the end of the workshop, participants will create a total of 3 different plots.

Bar Plot

plot

Scatter Plot

plot

Density Facet Plot

plot

About

Python Plotnine workshop organized with R-Ladies (Cologne, Paris) and Pyladies (Tunis, Munich). Plotnine is a data visualization package based on R ggplot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published