Rozdział 5.1

import warnings
warnings.filterwarnings("ignore")

import pandas.rpy.common as com
import matplotlib.pyplot as plt

kidney = com.load_data('kidney', package='PBImisc')

plt.figure(figsize=(14,6))
plt.plot(kidney['MDRD7'],kidney['MDRD12'],'.')
plt.tight_layout()
plt.savefig('R5_01a.png')