-
Book Overview & Buying
-
Table Of Contents
Python Automation Cookbook - Third Edition
By :
Graphs and images are fantastic ways of presenting complex data in an easy-to-understand way. In this chapter, we will make use of powerful Python libraries to learn how to create all kinds of graphs. We will mainly use matplotlib, a library aimed at displaying data in multiple ways and which can create stunning plots that help transmit and display information, but we will also use plotly.
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 graphs, and combine multiple plots in the same graph, annotate them, and even draw geographical maps.
The following recipes will be covered in this chapter: