creating a live animated clock using matplotlib