For animated line plots, I found the Cookbook very helpful:
I'm a novice with GUI stuff, but with that background, I tried the following.
I wanted a graph where data points were added as they become available.
The attached meets my current needs. Maybe someone will find it helpful,
or maybe someone can suggest how to make it better. (I've made it into
a working example, using Tkinter. Some values are still hard coded.)