Intro to Matplotlib

1. Matplotlib APIs

2. Matplotlib Workflow

3. Core Plot Types

How much water is needed to produce 1kg of food?

Food stats are liters of water consumed in production of 1kg (unless labeled single). Drinks are per 250 mL serving

Source: Institution of Mechanical Engineers (IME)

4. Multiple Plots in a Figure

2 Ways to Declare Axes: Implicit & Explicit

5. Plotting from Pandas DataFrames

Cumulative Sum

5.1 Using the Matplotlib OO API with Pandas

5.2 Styling Plots