Matplotlib sequence update