N Recursions: How to dynamically update matplotlib plot in Python?

N Recursions: How to dynamically update matplotlib plot in Python?