CHAPTER 5
MATPLOTLIB AND SEABORN
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). This section also 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 use Matplotlib in order to render horizontal lines, slanted lines, and parallel lines. This section also shows you how to render a grid of points in several ways.
The third section contains examples of rendering charts and graphs in Matplotlib, which includes histograms, bar...