Why my animation.FuncAnimation not work?

Hi, I am trying to run this sgd-intro.py locally, but animation.FuncAnimation not work, I am sure I have installed all the necessities, for this example file matplotlib/examples/animation/animate_decay.py works as expected.
Could someone help me to take a look at it ?

My file is here:

Great thanks.

haha, I fix it.