Tweaking your plots

Improving Your Data Visualizations in Python

Nick Strayer

Instructor

Looking at the small things

  • Put yourself into the viewer's shoes A magnifying glass over a complex scatter plot
Improving Your Data Visualizations in Python

Is the aesthetic appropriate?

  • Is the aesthetic appropriate for the context?

Scatterplot with a grid next to same plot without grid

Improving Your Data Visualizations in Python

Font-sizes

  • Is everything legible?

Plot with very tiny text on axes and title next to same plot with much larger text

Improving Your Data Visualizations in Python

Single scatter plot showing darkgrid style

Improving Your Data Visualizations in Python

Two scatter plots showing darkgrid and whitegrid styles

Improving Your Data Visualizations in Python

Three scatter plots showing darkgrid, whitegrid, and dark styles

Improving Your Data Visualizations in Python

Four scatter plots showing darkgrid, whitegrid, dark, and white styles

Improving Your Data Visualizations in Python

Five scatter plots showing darkgrid, whitegrid, dark, white, and ticks styles

Improving Your Data Visualizations in Python

Removing spines from plots

Scatterplot surrounded by black borders on all sides next to one without upper and right borders

Improving Your Data Visualizations in Python

Removing spines from plots

Scatterplot surrounded by black borders on all sides next to one without upper and right borders

Improving Your Data Visualizations in Python

Four basic plot backgrounds with text size varying from very small to large

Improving Your Data Visualizations in Python

Let's tweak some plots

Improving Your Data Visualizations in Python

Preparing Video For Download...