CHAPTER 5
MATPLOTLIB FOR DATA VISUALIZATION
This chapter introduces data visualization, along with a collection of Python-based code samples that use Matplotlib to render charts and graphs. In addition, this chapter contains visualization code samples that combine Pandas and Matplotlib.
The first part of this chapter briefly discusses data visualization, with a short list of some data visualization tools, and a list of various types of visualization (bar graphs, pie charts, and so forth).
The first part of this chapter contains a very short introduction to Matplotlib, followed by short code samples that display the available styles in colors in Matplotlib.
The second part of this chapter contains an assortment of Python code samples that render horizontal lines, slanted lines, and parallel lines. This section also contains a set of code samples that show you how to render a grid of points in several ways.
The third part of this chapter shows you how to load images, display a checkerboard...