“I am plotting for myself, and counterplotting the designs of others,” replied Tresham, mysteriously.

William Harrison Ainsworth, English historical novelist

Chapter 8Plotting

Plotting data is an essential part of any exploratory or predictive data analysis—and probably the most essential part of report writing. Frankly speaking, nobody wants to read reports without pictures, even if the pictures are irrelevant, like this elegant sine wave:

images/Sine_one_period.png

There are three principal approaches to programmable plotting. We start an incremental plot with a blank plot canvas and then add graphs, axes, labels, legends, and so on, incrementally using specialized ...

Get Data Science Essentials in Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.