Comprendre la diagonale dans le diagramme matriciel de dispersion de Pandas

Je suis tracer un nuage de points avec Pandas. Je peux comprendre l'intrigue, sauf les courbes en diagonale parcelles. Quelqu'un peut m'expliquer ce qu'ils signifient?

Image:

Comprendre la diagonale dans le diagramme matriciel de dispersion de Pandas

Code:

import pylab
import numpy as np
from pandas.tools.plotting import scatter_matrix
import pandas as pd

def make_scatter_plot(X, name):    
    """
    Make scatterplot.

    Parameters:
    -----------
    X:a design matrix where each column is a feature and each row is an observation.
    name: the name of the plot.
    """
    pylab.clf()
    df = pd.DataFrame(X)
    axs = scatter_matrix(df, alpha=0.2, diagonal='kde')

    for ax in axs[:,0]: # the left boundary
        ax.grid('off', axis='both')
        ax.set_yticks([0, .5])

    for ax in axs[-1,:]: # the lower boundary
        ax.grid('off', axis='both')
        ax.set_xticks([0, .5])

    pylab.savefig(name + ".png")

source d'informationauteur Jack Twain