Plotgroups: added python plotgroup class