Triangle Plot python script