Correlation plots


In [1]:
%matplotlib inline
import matplotlib.pyplot as plt

import zsplot
import numpy as np

Generate random data


In [16]:
x = np.linspace(0, 10, 100)
y = x + np.random.randn(len(x))

Plot data


In [19]:
fig, ax1, ax2, ax3 = zsplot.corr_resid_rhist(x,y, figsize=(5,5))