3:20

In this segment, the instructor advocates for the strategic use of text annotations in matplotlib visualizations, emphasizing their compactness and ability to convey information directly at the point of interest, thereby reducing reliance on legends and keeping viewers' focus. The talk outlines a decision framework: use annotations when the plot is meant to convey a clear message or stand alone (e.g., reports, social media graphics), but avoid them for exploratory plots used by experts where they may bias interpretation or add clutter. Practical guidance follows, demonstrating the simplest form of annotation using the `text()` function (specifying x, y, text, and alignment) and the more flexible `annotate()` function, which adds an arrow to point from a sparsely placed label to a crowded data point. The speaker stresses brevity, relevance, and the trade‑off between the time required to create annotations and the value they add.

Chapters

More from Richie

youtube.com

#359 My Best Friend is AI with Valerie Tiberius, Professor of Philosophy at University of Minnesota

5mo ago
youtube.com

17.8% of the World Now Uses AI — And the Gap Is Widening | The Median #5

5mo ago
youtube.com

Create GPTs to Automate Go-To-Market Research

5mo ago
youtube.com

What Happened to Self-Driving Cars? #AI

5mo ago
youtube.com

Never Use AI For This #warning #AI #flights

5mo ago
youtube.com

Use AI Agents to Analyze Power Grid Optimization

5mo ago
youtube.com

This is how modern AI actually solves problems #AITrends #AI

5mo ago
youtube.com

How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

#358 How AI Agents Will Work While You Sleep | Ruslan Salakhutdinov, Professor at Carnegie Mellon

5mo ago
youtube.com

Build an AI‑driven Dashboard

5mo ago
youtube.com

What’s Broken in Labor Markets Today #datascience

5mo ago
See all content