~/talk

Practical Techniques for Polished Visuals with Plotnine

Talkat PyData Global 2024 · 2024-12-03..12-05· [data-visualization]
links:none on file
slides:none on file

Builds an area chart of coal production since 1900 from the Carbon Majors dataset, computes the first year >100M tons and places datadriven annotations and vertical guide lines. Uses plotnine layers for custom axes, fills by commodity, and scale_fill_manual with a six‑color palette, then calls P.draw to perform a plotnine → matplotlib conversion and adds colored inline labels via highlight_text; code, slides and data links are published and reproducible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05What is Plotnine
  3. 4:24Preparing data
  4. 6:56Reusable color and font
  5. 10:44First chart layer
  6. 13:09Customizing axes
  7. 15:20Data-driven annotations
  8. 17:11Area chart colors
  9. 19:20Theme and legend
  10. 21:32Highlight annotations
  11. 24:48Finalizing visualization
  12. 25:08Summary
  13. 26:34Q&A Plotnine vs others
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.