Playing around with matplotlib animation