Controlling plot aesthetics

In this section, we will learn how to control plot aesthetics using the seaborn plotting library. We'll learn how to install and get started with seaborn, and about the models we need to import. We'll explore some of the seaborn plotting methods to draw a few different kinds of plots. We'll also see how to control and change plot aesthetics using various seaborn methods and properties.

Before we can start creating plots with seaborn, we need to install it. We have been using Anaconda throughout this book to install various Python libraries, so we'll continue with that. To install seaborn, execute the following command:

conda install seaborn

Make sure to run your command-line program in administrator mode before ...

Get Mastering Exploratory Analysis with pandas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.