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.
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.
This workbook is divided into 5 sections:
- Set-Up
- Data Prep
- Plot 1: Bar
- Plot 2: Scatter
- Plot 3: Density & Facetting
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).
By the end of the workshop, participants will create a total of 3 different plots.