minor tweaks and credits Palash Nandy for pairwise plot example