October 2018
Beginner to intermediate
676 pages
18h 30m
English
We will be using the familiar Iris dataset for this example. We will first create a correlation matrix and apply a standard colormap to see how it looks. We saw the same correlation matrix plotted as a heatmap in Chapter 2, Getting Started with Basic Plots. There, we used the hot colormap, but we did not go into the details regarding colormaps. We will explain that here.
Import the following required libraries:
import matplotlib.pyplot as pltimport pandas as pdimport numpy as np
Read now
Unlock full access