for result in cursor:
    rows.append([result['resultNum'], result['col2'], result['col3'],
        result['col4']])
df = pd.DataFrame(rows, columns=cols)
scatter_matrix(df, alpha=0.3, figsize=(16, 16), diagonal='kde', marker='o')
plt.suptitle(date)
How to put a title on each scatter_matrix in jupyter + pandas