8

Developing Stunning Graphs

Graphs and images are fantastic ways of presenting complex data in an easy and understandable way. In this chapter, we will make use of the powerful matplotlib library to learn how to create all kinds of graphs. matplotlib is a library that's aimed at displaying data in multiple ways, and it can create stunning plots that help transmit and display information in the best way possible.

matplotlib is well known and interacts well with other tools in the Python ecosystem. For example, matplotlib graphs can also be automatically displayed by Jupyter Notebooks as introduced in Chapter 7, Cleaning and Processing Data.

The graphs we'll cover will go from simple bar graphs to line or pie charts, and combine multiple plots ...

Get Python Automation Cookbook - Second Edition 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.